I've combed over the api, the classes, and even the file itself and I
can't seem to figure it out.

The closest line I can find that shows a relevant area of the layout I
wish to change is undocumented in layout.rb of action_controller:

def layout_list #:nodoc:
  Array(view_paths).sum([]) { |path| Dir["#{path.to_str}/layouts/**/*"]
}
end

All starting layouts are pointing to app/views/layouts/**/*

I wish to point the initial starting point to:

public/themes/**/*

I already have my layouts being decided based off model values within an
options set.  I can easily point it to any new layout within the themes
folder but the starting point is wrong.

How do I change this from the default starting point to the new starting
point?
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to