Sha256: 8b7d1f32ac2cb2c43b21706ef8f7087e91999de1619824e0fb887dcbf1cf7288
Contents?: true
Size: 987 Bytes
Versions: 13
Compression:
Stored size: 987 Bytes
Contents
Ishapi::Engine.routes.draw do root :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' namespace :my do post 'reports', :to => 'reports#index' get 'reports', :to => 'reports#index' # resources :reports # resources :galleries # resources :videos end get 'reports', :to => 'reports#index' get 'reports/view/:name_seo', :to => 'reports#show' get 'sites/view/:domain', :to => 'sites#show', :constraints => { :domain => /[^\/]+/ } 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/view/:venuename', :to => 'venues#show' end
Version data entries
13 entries across 13 versions & 1 rubygems