help - building a simple user dashboard

11 views
Skip to first unread message

tom

unread,
Mar 24, 2016, 12:34:35 PM3/24/16
to Ruby on Rails: Talk
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



Reply all
Reply to author
Forward
0 new messages