Sha256: 699be4d0b798b546a9a08b205a3dda7ffbe8bfdb919c337f6c1a98d871fc70c9
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 Bytes
Contents
require 'saucy/routing_extensions' Rails.application.routes.draw do resources :accounts, :only => [:index, :edit, :update, :destroy] through :accounts do resource :billing resource :plan resources :projects do resource :archive, :only => [:create, :destroy] end resources :memberships, :only => [:index, :edit, :update, :destroy] resources :invitations, :only => [:show, :update, :new, :create] end resources :plans, :only => [:index] do resources :accounts, :only => [:new, :create] end resource :profile, :only => [:edit, :update] end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
saucy-0.5.3 | config/routes.rb |
saucy-0.5.2 | config/routes.rb |
saucy-0.5.1 | config/routes.rb |
saucy-0.5.0 | config/routes.rb |