Commit 6c65b91d authored by Ciro Santilli's avatar Ciro Santilli

Remove or prepend _ to unused method arguments

parent c8bb1716
......@@ -15,11 +15,11 @@ class RegistrationsController < Devise::RegistrationsController
super
end
def after_sign_up_path_for(resource)
def after_sign_up_path_for(_resource)
new_user_session_path
end
def after_inactive_sign_up_path_for(resource)
def after_inactive_sign_up_path_for(_resource)
new_user_session_path
end
......
......@@ -108,7 +108,7 @@ module TreeHelper
end
end
def up_dir_path(tree)
def up_dir_path
file = File.join(@path, "..")
tree_join(@ref, file)
end
......
......@@ -35,7 +35,7 @@
- if @path.present?
%tr.tree-item
%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.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