1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/abstract_controller
Andrew White dcb318ee43 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
2012-12-17 16:29:38 +00:00
..
railties Rely on a public contract between railties instead of accessing railtie methods directly. 2011-11-23 19:06:45 +00:00
asset_paths.rb 🔥 Rails asset id support 2012-10-15 09:47:16 -05:00
base.rb fix uninitialized ivar warnings 2012-10-25 10:49:13 -07:00
callbacks.rb fix prepend_before_filter documentation [ci skip] 2012-12-07 14:28:32 -05:00
collector.rb Prevent conflict between mime types and Object methods 2012-07-06 20:38:23 +02:00
helpers.rb Refactor helpers code in Action Pack a bit 2012-12-13 08:46:12 -02:00
layouts.rb Make conditional_layout? private and update documentation 2012-12-17 16:29:38 +00:00
logger.rb avoid empty api pages 2012-04-08 01:56:41 +05:30
rendering.rb cleanup, remove trailing whitespace within actionpack 2012-10-27 16:03:18 +02:00
translation.rb add lazy look up in abstract controller's translate method 2012-07-18 10:33:14 +03:00
url_for.rb Clean up module docs [ci skip] 2012-03-07 01:04:14 +05:30
view_paths.rb Use Kernel#Array instead of Array.wrap in view_paths 2012-01-05 17:08:18 -03:00