Sha256: 2aba7e0c3b3edff7c442370e5c78e1fc30ea1d66b675c254c430817ee8f5f011

Contents?: true

Size: 524 Bytes

Versions: 72

Compression:

Stored size: 524 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
    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

72 entries across 72 versions & 2 rubygems

Version Path
saasy-0.0.2.alpha3 config/routes.rb
saasy-0.0.2.alpha2 config/routes.rb
saasy-0.0.2.alpha1 config/routes.rb
saucy-0.10.0 config/routes.rb
saucy-0.9.1 config/routes.rb
saucy-0.9.0 config/routes.rb
saucy-0.8.5 config/routes.rb
saucy-0.8.4 config/routes.rb
saucy-0.8.3 config/routes.rb
saasy-0.0.1 config/routes.rb
saucy-0.8.2 config/routes.rb
saucy-0.8.1 config/routes.rb
saucy-0.8.0 config/routes.rb
saucy-0.7.3 config/routes.rb
saucy-0.7.2 config/routes.rb
saucy-0.7.1 config/routes.rb
saucy-0.7.0 config/routes.rb
saucy-0.6.1 config/routes.rb
saucy-0.6.0 config/routes.rb
saucy-0.5.5 config/routes.rb