Sha256: 478c2ff6843b5440db42ff606befbd9f639b2962ef1ee3b991959140557ac488

Contents?: true

Size: 1.74 KB

Versions: 5

Compression:

Stored size: 1.74 KB

Contents

IshManager::Engine.routes.draw do
  root :to => 'application#home'

  resources :campaigns

  resources :cities do
    resources :features
    resources :newsitems
    resources :reports
    resources :galleries
    resources :users
    resources :videos
    resources :events
    resources :venues
    resources :tags
  end

  resources :email_templates
  resources :events

  resources :feature
  resources :friends

  resources :galleries do
    post 'multiadd', :to => 'photos#j_create', :as => :multiadd
  end

  resources :invoices do
    resources :payments
  end

  get 'leads',      :to => 'leads#index', :defaults => { :is_done => false }
  get 'leads/done', :to => 'leads#index', :defaults => { :is_done => true }, :as => :done_leads
  resources :leads

  resources :newsitems

  resources :orders
  get 'co_tailors',                :to => 'co_tailors#home'
  post 'co_tailors/products',      :to => 'co_tailors#create_product'
  patch 'co_tailors/products/:id', :to => 'co_tailors#update_product', :as => :co_tailors_product

  resources :photos
  resources :payments

  resources :reports

  resources :sites do
    resources :features
    resources :newsitems

    get 'reports', :to => 'sites#reports'
    resources :reports

    get 'galleries', :to => 'sites#galleries'

    resources :galleries
    resources :videos
    resources :tags
  end
  
  resources :stock_actions
  resources :stock_options
  resources :stock_watches

  resources :tags do
    resources :features
    resources :newsitems

    resources :reports
    resources :galleries
    resources :videos
  end

  resources :user_profiles
  # resources :user_profiles, :as => :ish_models_user_profiles
  resources :user_profiles, :as => :profiles

  resources :venues
  resources :videos
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ish_manager-0.1.8.148 config/routes.rb
ish_manager-0.1.8.147 config/routes.rb
ish_manager-0.1.8.146 config/routes.rb
ish_manager-0.1.8.145 config/routes.rb
ish_manager-0.1.8.144 config/routes.rb