Re: [Rails] Route not getting recognized

2011-04-08 Thread Chris Mear
On 7 April 2011 23:39, Bryan Crossland wrote: > On Thu, Apr 7, 2011 at 4:50 PM, Luka Stolyarov wrote: >> >> Hello.  I have a strange issue I can't figure out: >> >> In routes.rb I create this route: >> >> >>  map.connect('/api/v2/store/individual_offer/:offer_id', { >>              :controller =>

Re: [Rails] Route not getting recognized

2011-04-07 Thread Bryan Crossland
On Thu, Apr 7, 2011 at 4:50 PM, Luka Stolyarov wrote: > Hello. I have a strange issue I can't figure out: > > In routes.rb I create this route: > > > map.connect('/api/v2/store/individual_offer/:offer_id', { > :controller => '/api/v2/store', > :action => :individual_of

[Rails] Route not getting recognized

2011-04-07 Thread Luka Stolyarov
Hello. I have a strange issue I can't figure out: In routes.rb I create this route: map.connect('/api/v2/store/individual_offer/:offer_id', { :controller => '/api/v2/store', :action => :individual_offer , }) Then, in the view I generate a url in this way: url_f