Sha256: ccb7412164bd0dda5958d7020f62848d92f322727dd324d4411d75231373c63c

Contents?: true

Size: 624 Bytes

Versions: 3

Compression:

Stored size: 624 Bytes

Contents

Rails.application.routes.draw do
  resources :accounts, :only => [:index, :edit, :update] do
    resources :projects, :only => [:new, :create, :index, :show]
    resources :memberships, :only => [:index]
    resources :invitations, :only => [:new, :create]
    resources :users, :only => [] do
      resource :permissions, :only => [:edit, :update]
    end
  end

  resources :plans, :only => [:index] do
    resources :accounts, :only => [:new, :create]
  end

  resources :invitations, :only => [:show, :update]
  resources :projects, :only => [:edit, :update, :destroy]
  resource :profile, :only => [:edit, :update]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saucy-0.1.3 config/routes.rb
saucy-0.1.2 config/routes.rb
saucy-0.1.1 config/routes.rb