mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
dcb318ee43
The conditional_layout? method is not for public use and doesn't actually do what the documentation suggested it does. It's actually used to determine whether or not to use the explicit layout definition defined in a controller or use the implicit layout definition. Also documentation was added for the action_has_layout? method which acts as a master switch for disabling the layout for the current action. This method was added so that action caching didn't depend on accessing layout internals but is also used by third-parties, most notably the [Hobo][1] application. [1]: https://github.com/hobo/hobo |
||
---|---|---|
.. | ||
railties | ||
asset_paths.rb | ||
base.rb | ||
callbacks.rb | ||
collector.rb | ||
helpers.rb | ||
layouts.rb | ||
logger.rb | ||
rendering.rb | ||
translation.rb | ||
url_for.rb | ||
view_paths.rb |