Ruby on Rails Thursday, March 24, 2016

hi,

im trying to find the simplest way of bulding a user dashboard. currentyl using namespace like this:

  resource :dashboard, to: 'dashboard#index', as: 'dashboard'do
     resources :vehicles , to: 'vehicles#index'
  end

> controller action is using its own layout file (one yield section), but now i need to rename all link_to's accordingly.


>> how can i build a simple dashbaord so i can reuse all resources within without changing them?
(should be as simple as the application-layout, ....)


thx



--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMeE3XBu-azSehYeG0dfoKvOcqJcRQWxR4uZYeR5ne8%2BHg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment