You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
class BlobController < ApplicationController
|
|
def new
|
|
commit unless @repository.empty?
|
|
end
|
|
|
|
def create
|
|
create_commit(Files::CreateService, success_path: after_create_path,
|
|
failure_view: :new,
|
|
failure_path: namespace_project_new_blob_path(@project.namespace, @project, @ref))
|
|
end
|
|
|
|
end
|