Sha256: 17a2fa8e062ae4390cd49a49f2f09de064934865dbe8bc6d8a0e3b0f284d249b

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

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

  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 :photos
  resources :payments

  resources :reports

  resources :sites do
    resources :features
    resources :galleries
    resources :newsitems
    resources :reports
  end
  
  resources :stock_actions
  resources :stock_options
  resources :stock_watches

  resources :tags

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

  resources :venues
  resources :videos
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_manager-0.1.8.123 config/routes.rb