Commit f7e934696c99f2337cc4e254cb49f652a704310f

Authored by Sergey Linnik
1 parent 120f50cf

added more denied project names

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/project.rb
... ... @@ -179,7 +179,7 @@ class Project < ActiveRecord::Base
179 179 end
180 180  
181 181 def repo_name
182   - denied_paths = %w(gitolite-admin groups projects dashboard help )
  182 + denied_paths = %w(gitolite-admin admin dashboard groups help profile projects search)
183 183  
184 184 if denied_paths.include?(path)
185 185 errors.add(:path, "like #{path} is not allowed")
... ...