Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
6c65b91d
Commit
6c65b91d
authored
Sep 30, 2014
by
Ciro Santilli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove or prepend _ to unused method arguments
parent
c8bb1716
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/controllers/registrations_controller.rb
app/controllers/registrations_controller.rb
+2
-2
app/helpers/tree_helper.rb
app/helpers/tree_helper.rb
+1
-1
app/views/projects/tree/_tree.html.haml
app/views/projects/tree/_tree.html.haml
+1
-1
No files found.
app/controllers/registrations_controller.rb
View file @
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
...
...
app/helpers/tree_helper.rb
View file @
6c65b91d
...
@@ -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
...
...
app/views/projects/tree/_tree.html.haml
View file @
6c65b91d
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment