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
Boxiang Sun
gitlab-ce
Commits
96f3a88c
Commit
96f3a88c
authored
Jun 22, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restrict auto generated routes
parent
102aaf06
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
config/routes.rb
config/routes.rb
+4
-4
No files found.
config/routes.rb
View file @
96f3a88c
...
@@ -113,8 +113,8 @@ Gitlab::Application.routes.draw do
...
@@ -113,8 +113,8 @@ Gitlab::Application.routes.draw do
put
:update_username
put
:update_username
end
end
resource
:notifications
resource
:notifications
,
only:
[
:show
,
:update
]
resource
:password
resource
:password
,
only:
[
:new
,
:create
]
end
end
resources
:keys
resources
:keys
...
@@ -125,7 +125,7 @@ Gitlab::Application.routes.draw do
...
@@ -125,7 +125,7 @@ Gitlab::Application.routes.draw do
#
#
# Dashboard Area
# Dashboard Area
#
#
resource
:dashboard
,
controller:
"dashboard"
do
resource
:dashboard
,
controller:
"dashboard"
,
only:
[
:show
]
do
member
do
member
do
get
:projects
get
:projects
get
:issues
get
:issues
...
@@ -198,7 +198,7 @@ Gitlab::Application.routes.draw do
...
@@ -198,7 +198,7 @@ Gitlab::Application.routes.draw do
end
end
end
end
resource
:repository
do
resource
:repository
,
only:
[
:show
]
do
member
do
member
do
get
"branches"
get
"branches"
get
"tags"
get
"tags"
...
...
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