Sha256: 5cc1f3f00c9afbc437c1f703e260939b7685afb84a9a4f95a7485c441bac1f85

Contents?: true

Size: 696 Bytes

Versions: 2

Compression:

Stored size: 696 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/view/:galleryname', :to => 'galleries#show'

  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

2 entries across 2 versions & 1 rubygems

Version Path
ishapi-0.1.8.16 config/routes.rb
ishapi-0.1.8.15 config/routes.rb