Sha256: 2db45e6213a1780553f6fc8367bb474c8b1f77868d172848a3638e165dc3518a
Contents?: true
Size: 779 Bytes
Versions: 27
Compression:
Stored size: 779 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] namespace :admin do resources :accounts, :only => [:index, :show] do get :search, :on => :collection end resources :users, :only => [:index, :show] do get :search, :on => :collection end match "/" => "base#show" end end
Version data entries
27 entries across 27 versions & 1 rubygems