Sha256: 0f44352de4dc6ccb1d4715950755e9d7062534884a65344755d7ff388a622919
Contents?: true
Size: 1.68 KB
Versions: 5
Compression:
Stored size: 1.68 KB
Contents
Ishapi::Engine.routes.draw do root :to => 'api#home' post 'home', :to => 'api#home' get 'cities', :to => 'cities#index' get 'cities/view/:cityname', :to => 'cities#show' get 'galleries', :to => 'galleries#index' get 'galleries/view/:galleryname', :to => 'galleries#show' post 'invoices/search', :to => 'invoices#search' namespace :my do post 'reports', :to => 'reports#index' get 'reports', :to => 'reports#index' # resources :reports # resources :galleries # resources :videos end post 'payments', :to => 'payments#create' get 'reports', :to => 'reports#index' get 'reports/view/:name_seo', :to => 'reports#show' get 'sites/view/:domain', :to => 'sites#show', :constraints => { :domain => /[^\/]+/ } get 'sites/view/:domain/newsitems/:newsitems_page', :to => 'newsitems#index', :constraints => { :domain => /[^\/]+/ } get 'sites/view/:domain/reports', :to => 'reports#index', :constraints => { :domain => /[^\/]+/ } get 'sites/view/:domain/reports/page/:reports_page', :to => 'reports#index', :constraints => { :domain => /[^\/]+/ } get 'sites/view/:domain/tags', :to => 'tags#index', :constraints => { :domain => /[^\/]+/ } get 'tags/view/:tagname', :to => 'tags#show' post 'users/fb_sign_in', :to => 'users#fb_sign_in' post 'users/profile', :to => 'users#show' post 'users/profile/update', :to => 'users#update' get 'users/profile', :to => 'users#show' # @TODO: only for testing! accessToken must be hidden get 'venues', :to => 'venues#index' get 'venues/view/:venuename', :to => 'venues#show' end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ishapi-0.1.8.46 | config/routes.rb |
ishapi-0.1.8.45 | config/routes.rb |
ishapi-0.1.8.44 | config/routes.rb |
ishapi-0.1.8.43 | config/routes.rb |
ishapi-0.1.8.42 | config/routes.rb |