Sha256: 5554c2c5be294c979835886c88e3f9b5cf54e374156b40a64c63ba3cbea25415

Contents?: true

Size: 514 Bytes

Versions: 12

Compression:

Stored size: 514 Bytes

Contents

require 'saucy/routing_extensions'

Rails.application.routes.draw do
  resources :accounts, :only => [:index, :edit, :update]

  through :accounts do
    resource  :billing
    resource  :plan
    resources :projects
    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

12 entries across 12 versions & 1 rubygems

Version Path
saucy-0.2.8.1 config/routes.rb
saucy-0.2.8 config/routes.rb
saucy-0.2.7 config/routes.rb
saucy-0.2.6.1 config/routes.rb
saucy-0.2.6 config/routes.rb
saucy-0.2.5 config/routes.rb
saucy-0.2.4.1 config/routes.rb
saucy-0.2.4 config/routes.rb
saucy-0.2.3 config/routes.rb
saucy-0.2.2 config/routes.rb
saucy-0.2.1 config/routes.rb
saucy-0.2.0 config/routes.rb