Sha256: 5c6f0fc89509d5a86115d781b71666504c1c0088378607c475743f9fa8bd646a

Contents?: true

Size: 952 Bytes

Versions: 9

Compression:

Stored size: 952 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 "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

9 entries across 9 versions & 1 rubygems

Version Path
lentil-0.1.7 config/routes.rb
lentil-0.1.6 config/routes.rb
lentil-0.1.3 config/routes.rb
lentil-0.1.2 config/routes.rb
lentil-0.1.1 config/routes.rb
lentil-0.1.0 config/routes.rb
lentil-0.0.3.pre config/routes.rb
lentil-0.0.2.pre config/routes.rb
lentil-0.0.1.pre config/routes.rb