1
0
Fork 0
forked from OpenNeo/impress
impress/config/routes.rb

14 lines
650 B
Ruby
Raw Normal View History

2010-05-14 15:12:31 -07:00
OpenneoImpressItems::Application.routes.draw do |map|
2010-05-15 10:47:46 -07:00
match '/' => 'items#index', :as => :items
2010-06-22 10:00:55 -07:00
match '/index.js' => 'items#index', :format => :js
2010-05-15 17:46:41 -07:00
match '/:id' => 'items#show', :as => :item
2010-05-16 12:33:56 -07:00
match '/items/:item_id/swf_assets.json' => 'swf_assets#index', :as => :item_swf_assets
match '/items/:item_id/bodies/:body_id/swf_assets.json' => 'swf_assets#index', :as => :item_swf_assets_for_body_id
2010-05-20 16:56:08 -07:00
match '/pet_types/:pet_type_id/swf_assets.json' => 'swf_assets#index', :as => :pet_type_swf_assets
2010-05-16 12:33:56 -07:00
match '/species/:species_id/color/:color_id/pet_type.json' => 'pet_types#show'
2010-06-26 13:29:23 -07:00
match '/item_zone_sets.js' => 'ItemZoneSets#index'
2010-05-14 15:12:31 -07:00
end