Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
7e1364967008
Commit
f7e93469
authored
Dec 15, 2012
by
Sergey Linnik
Browse files
added more denied project names
parent
a262b05264ba
Changes
1
Show whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
7e136496
...
...
@@ -179,7 +179,7 @@ def check_limit
end
def
repo_name
denied_paths
=
%w(gitolite-admin
groups projects dashboard help
)
denied_paths
=
%w(gitolite-admin
admin dashboard groups help profile projects search
)
if
denied_paths
.
include?
(
path
)
errors
.
add
(
:path
,
"like
#{
path
}
is not allowed"
)
...
...
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