Re: [Rails] strange routing issue : working on localhost not working on remote server ..

2011-11-15 Thread Colin Law
On 15 November 2011 19:01, Erwin wrote: > it's the first time I see it ... > > I have the following in my routes.rb > >   namespace :users do >     resource :dashboard, :only => [:show ] >   end > > and users_dashboard_path =>  "/users/dashboard"   where I only print > the logged in current_user n

[Rails] strange routing issue : working on localhost not working on remote server ..

2011-11-15 Thread Erwin
it's the first time I see it ... I have the following in my routes.rb namespace :users do resource :dashboard, :only => [:show ] end and users_dashboard_path => "/users/dashboard" where I only print the logged in current_user name ( using Devise gem auth..) on localhost after sign

[Rails] Strange routing(?) Issue

2010-02-16 Thread badnaam
I have a Model event and the following two lines in routes.rb 1 - map.connect "events/:action", :controller => 'events', :action => / [a-z_]+/i 2 - map.resources :events, :has_many => :comments, :has_one => :address #, :collection => {:mapit => :get} I have #1 so that I can call custom actions fr