Sha256: a47b8fe581312f40cf811fb82be78075361ebb0be9e0b3bfb234cff439f50fb2

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

Ishapi::Engine.routes.draw do

  root :to => 'api#home'

  get 'cities',                :to => 'cities#index'
  get 'cities/view/:cityname', :to => 'cities#show'

  get 'reports/view/:name_seo', :to => 'reports#show'

  get 'sites/view/:domain', :to => 'sites#show', :constraints => { :domain => /[^\/]+/ }

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ishapi-0.1.4 config/routes.rb
ishapi-0.1.3 config/routes.rb