Sha256: 766b01ec531a9d2a713a6fd56a05a879c33401e9bbcc594cacfb60050620a8ea
Contents?: true
Size: 447 Bytes
Versions: 4
Compression:
Stored size: 447 Bytes
Contents
Rails.application.routes.draw do namespace :sofa_gallery, :path => '' do resources :galleries, :only => [:show, :index] namespace :admin, :path => SofaGallery.config.admin_route_prefix do resources :galleries do resources :photos do put :reorder, :on => :collection get :crop, :on => :member end end end unless SofaGallery.config.admin_route_prefix.blank? end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sofa_gallery-0.0.6 | config/routes.rb |
sofa_gallery-0.0.5 | config/routes.rb |
sofa_gallery-0.0.4 | config/routes.rb |
sofa_gallery-0.0.3 | config/routes.rb |