Sha256: 8e051f07518ff3e4907d8cdbcc96124fb4646b0a6b78d822d0c88dd8f113be90

Contents?: true

Size: 471 Bytes

Versions: 10

Compression:

Stored size: 471 Bytes

Contents

require 'saucy/routing_extensions'

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

  through :accounts do
    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

10 entries across 10 versions & 1 rubygems

Version Path
saucy-0.1.18 config/routes.rb
saucy-0.1.17 config/routes.rb
saucy-0.1.16 config/routes.rb
saucy-0.1.15 config/routes.rb
saucy-0.1.14 config/routes.rb
saucy-0.1.13 config/routes.rb
saucy-0.1.12 config/routes.rb
saucy-0.1.11 config/routes.rb
saucy-0.1.9 config/routes.rb
saucy-0.1.8 config/routes.rb