Displaying 2 results from an estimated 2 matches for "myshop".
Did you mean:
bishop
2009 Oct 28
0
Specific routing problem
...problem. :-)
I currently have a route.rb like this:
ActionController::Routing::Routes.draw do |map|
map.resources :shops do |shops|
shops.resource :cart, :member => { :clear => :put } do |cart|
cart.resources :items
end
end
end
This makes possible URLs like these:
http://myshop.com/shop/13
http://myshop.com/shop/13/cart
http://myshop.com/shop/13/cart/items
http://myshop.com/shop/13/cart/clear
etc.
The thing is, I really want URLs where the first keyword "shop" is
removed, ie:
http://myshop.com/13
http://myshop.com/13/cart
http://myshop.com/13/cart/items
http:/...
2010 May 06
5
Bundler for Rails 3 Engine
Hello All,
My google-fu did not find this answer :
How do I configure a Rails-3 Engine so that the engine''s Gemfile is
integrated with the parent-Rails-app''s bundle?
Thanks
Peter Fitzgibbons
(847) 859-9550
Email: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
IM GTalk: peter.fitzgibbons
IM AOL: peter.fitzgibbons-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
--
You