Sha256: 6d53c5d14377c35ae832749e1da9b7231853613f9f1f1a03adb4da120922a11a

Contents?: true

Size: 773 Bytes

Versions: 2

Compression:

Stored size: 773 Bytes

Contents

Rails.application.routes.draw do
  resources :accounts, :only => [:index, :edit, :update, :destroy] 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
      resource :trial_extensions, :only => [:create]
    end
    resources :users, :only => [:index, :show] do
      get :search, :on => :collection
    end
    match "/" => "base#show"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
saucy-0.16.1 config/routes.rb
saucy-0.16.0 config/routes.rb