aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2012-12-17 16:12:07 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2012-12-17 16:29:38 +0000
commitdcb318ee438785239fad27ece96c3cf6dd7ce12e (patch)
tree42161dde1e5fc32753f3a751c9afc65ee70056a6 /railties
parentd551701b110b40823ea2bd2c66d70e1701cb3314 (diff)
downloadrails-dcb318ee438785239fad27ece96c3cf6dd7ce12e.tar.gz
rails-dcb318ee438785239fad27ece96c3cf6dd7ce12e.tar.bz2
rails-dcb318ee438785239fad27ece96c3cf6dd7ce12e.zip
Make conditional_layout? private and update documentation
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
Diffstat (limited to 'railties')
0 files changed, 0 insertions, 0 deletions