Sha256: 653b7c39bba4a58377022df79a80971561d1688a9f06d9594129898c2f037fa5
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
#map.namespace :admin do |admin| # admin.resources :comments # admin.resources :comment_types # # admin.resources :orders, :member => {:comments => :get} do |order| # order.resources :shipments, :member => {:comments => :get} # end #end # Spree::Core::Engine.add_routes do namespace :admin do resources :comments resources :comment_types resources :orders do member do get :comments end resources :shipments do member do get :comments end end end end #match '/admin/comments' => 'admin/comments', :via => [:get, :post] # match '/admin/comment_types' => 'admin/comment_types', :via => [:get, :post] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_comments-1.0.0 | config/routes.rb |