Sha256: 6bdb542c2dcd9a58b995b751b5524ccfd0dc5681d6d96912da93597e08fcf068

Contents?: true

Size: 1016 Bytes

Versions: 23

Compression:

Stored size: 1016 Bytes

Contents

Lentil::Engine.routes.draw do

  get "thisorthat/battle" => 'thisorthat#battle', :as => :thisorthat_battle
  post "thisorthat/result" => 'thisorthat#result', :as => :thisorthat_result
  get "thisorthat/battle_leaders" => 'thisorthat#battle_leaders', :as => :thisorthat_battle_leaders
  get "images/recent" => 'images#recent', :as => :images_recent
  get "images/popular" => 'images#popular', :as => :images_popular
  get "images/staff_picks" => 'images#staff_picks', :as => :images_staff_picks
  get "images/animate" => 'images#animate', :as => :images_animate
  get "images/staff_picks_animate" => 'images#staff_picks_animate', :as => :staff_picks_animate
  get "images/iframe" => 'images#iframe', :as => :images_iframe
  get "about" => 'pages#about', :as => :pages_about
  post 'like_votes/:image_id' => 'like_votes#tally', :as => :tally_like_vote
  post 'flags/:image_id' => 'flags#tally', :as => :tally_flag
  resources :photographers, :only => [:index, :show]
  resources :images, :only => [:index, :show]

end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
lentil-1.0.5 config/routes.rb
lentil-1.0.4 config/routes.rb
lentil-1.0.3 config/routes.rb
lentil-1.0.2 config/routes.rb
lentil-1.0.1 config/routes.rb
lentil-1.0.0 config/routes.rb
lentil-0.9.1 config/routes.rb
lentil-0.9.0 config/routes.rb
lentil-0.8.0 config/routes.rb
lentil-0.7.1 config/routes.rb
lentil-0.6.0 config/routes.rb
lentil-0.5.2 config/routes.rb
lentil-0.5.1 config/routes.rb
lentil-0.5.0 config/routes.rb
lentil-0.4.2 config/routes.rb
lentil-0.4.0 config/routes.rb
lentil-0.3.1 config/routes.rb
lentil-0.3.0 config/routes.rb
lentil-0.2.3 config/routes.rb
lentil-0.2.2 config/routes.rb