Sha256: 31675ea7b6296fa3c4741b7b55490524dee1e0204fabb6145cdc74cf495a8f3d

Contents?: true

Size: 863 Bytes

Versions: 11

Compression:

Stored size: 863 Bytes

Contents

ActionController::Routing::Routes.draw do |map|
  map.resources :outcomes

  map.resources :preconditions

  map.resources :releases
  map.resources :iterations do |i|
    i.resources :stories, :member => { :generate_feature => :get } do |r|
      r.resources :scenarios
    end
  end
  
  map.client_generate '/stories/:id.:format', :controller => 'stories', :action => 'show'

  map.resources :user_roles

  map.logout '/logout', :controller => 'sessions', :action => 'destroy'
  map.login '/login', :controller => 'sessions', :action => 'new'
  map.register '/register', :controller => 'users', :action => 'create'
  map.signup '/signup', :controller => 'users', :action => 'new'
  map.resources :users

  map.resource :session
  map.connect ':controller/:action/:id'
  map.connect ':controller/:action/:id.:format'

  map.root :controller => :iterations
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
branston-0.6.1 lib/branston/config/routes.rb
branston-0.6.0 lib/branston/config/routes.rb
branston-0.5.2 lib/branston/config/routes.rb
branston-0.5.1 lib/branston/config/routes.rb
branston-0.5.0 lib/branston/config/routes.rb
branston-0.4.6 lib/branston/config/routes.rb
branston-0.4.5 lib/branston/config/routes.rb
branston-0.4.4 lib/branston/config/routes.rb
branston-0.4.3 lib/branston/config/routes.rb
branston-0.4.2 lib/branston/config/routes.rb
branston-0.4.1 lib/branston/config/routes.rb