Skip to content
Snippets Groups Projects
Commit 8f9b3b6c authored by Felipe Artur's avatar Felipe Artur
Browse files

Fix rubocop failure

parent 63b2b827
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -62,9 +62,9 @@ class Projects::BlobController < Projects::ApplicationController
 
def destroy
create_commit(Files::DeleteService, success_notice: "The file has been successfully deleted.",
success_path: -> { namespace_project_tree_path(@project.namespace, @project, @target_branch) },
failure_view: :show,
failure_path: namespace_project_blob_path(@project.namespace, @project, @id))
success_path: -> { namespace_project_tree_path(@project.namespace, @project, @target_branch) },
failure_view: :show,
failure_path: namespace_project_blob_path(@project.namespace, @project, @id))
end
 
def diff
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment