Ruby on Rails Wednesday, August 31, 2011

I tried this:

scope :path => '/dashboard', :name_prefix => "dashboard_", :path_prefix
=> "dashboard", :controller => :dashboard do
match '/sidebar.:format' => :sidebar
match '/charts.:format' => :charts
match '/action_items.:format' => :action_items
match '/performance.:format' => :performance
end

not sure yet if it is going to give me dashboard_sidebar_url, for
example, as a route helper.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment