This commit is contained in:
Dmitriy Zaporozhets 2011-10-15 21:39:11 +03:00
parent 7b5799a979
commit ef2bf15204
28 changed files with 104 additions and 37 deletions

View file

@ -1,5 +1,5 @@
if defined?(Footnotes) && Rails.env.development?
Footnotes.run! # first of all
#if defined?(Footnotes) && Rails.env.development?
#Footnotes.run! # first of all
# ... other init code
end
#end

View file

@ -32,7 +32,7 @@ Gitlab::Application.routes.draw do
get "tree/:commit_id/:path" => "projects#tree",
:as => :tree_file,
:constraints => {
:id => /[a-zA-Z0-9]+/,
:id => /[a-zA-Z0-9_\-]+/,
:commit_id => /[a-zA-Z0-9]+/,
:path => /.*/
}
@ -40,7 +40,11 @@ Gitlab::Application.routes.draw do
end
resources :commits
resources :team_members
resources :issues
resources :issues do
collection do
post :sort
end
end
resources :notes, :only => [:create, :destroy]
end
root :to => "projects#index"