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
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
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
3 matches
Mail list logo