Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (15 sloc) 711 Bytes
ActionController::Routing::Routes.draw do |map|
map.with_options :name_prefix => 'project_', :path_prefix => 'projects/:project_id' do |project|
project.resource :easy_agile, :controller => 'easy_agile', :member => { :my_page => :get }
project.resources :iterations, :collection => { :finished => :get, :planned => :get } do |iteration|
iteration.resource :burndown
iteration.resource :active_iteration
iteration.resources :stories
end
project.resources :stories, :member => { :estimate => :get },
:collection => { :backlog => :get, :finished => :get } do |story|
story.resources :acceptance_criteria
end
project.resources :story_team_members
end
end