Sha256: 922385b54645cc5906ee286fac3c044eb3cad0f010eccf8bbb0c87b19e7b53f2

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 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
  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

  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

2 entries across 2 versions & 1 rubygems

Version Path
ish_manager-0.1.8.139 config/routes.rb
ish_manager-0.1.8.138 config/routes.rb