Commit 11591573 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #7925 from cirosantilli/unused-arguments

Remove or prepend underscore _ to unused method arguments
parents dbd54fad 6c65b91d
...@@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController ...@@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController
super super
end end
def after_sign_up_path_for(resource) def after_sign_up_path_for(_resource)
new_user_session_path new_user_session_path
end end
def after_inactive_sign_up_path_for(resource) def after_inactive_sign_up_path_for(_resource)
new_user_session_path new_user_session_path
end end
......
...@@ -108,7 +108,7 @@ module TreeHelper ...@@ -108,7 +108,7 @@ module TreeHelper
end end
end end
def up_dir_path(tree) def up_dir_path
file = File.join(@path, "..") file = File.join(@path, "..")
tree_join(@ref, file) tree_join(@ref, file)
end end
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
- if @path.present? - if @path.present?
%tr.tree-item %tr.tree-item
%td.tree-item-file-name %td.tree-item-file-name
= link_to "..", project_tree_path(@project, up_dir_path(tree)), class: 'prepend-left-10' = link_to "..", project_tree_path(@project, up_dir_path), class: 'prepend-left-10'
%td %td
%td.hidden-xs %td.hidden-xs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment