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
Yehuda Katz bfe58ac05d Get all ActionController partial rendering to use ActionView's partial code. Consequences:
* It is not possible to always pre-determine the layout before going to ActionView.
    This was *already* broken for render :partial => @object, :layout => true. This is
    now handled by overriding render_to_body in layouts.rb and manually injecting the
    partial's response. This needs to be done in ActionController since ActionController
    knows enough to get _layout_for_option. There is probably a better abstraction here.
  * As a result, all partial rendering can correctly restrict their layouts to the mime
    type of the rendered partial. This could have previously caused a bug in some edge cases.
  * If other layout-like options are added, they might need to add special code for the
    case of render :partial. We should try to think of an alternate solution, if possible,
    but this works for the cases we know of now.
2009-08-07 11:33:54 -03:00
..
abstract_controller Get all ActionController partial rendering to use ActionView's partial code. Consequences: 2009-08-07 11:33:54 -03:00
action_controller Get all ActionController partial rendering to use ActionView's partial code. Consequences: 2009-08-07 11:33:54 -03:00
action_dispatch Remove legacy processing and content_length 2009-08-02 19:39:33 -04:00
action_pack Bump up the version to 3.0.pre 2009-06-30 14:37:12 -07:00
action_view Get all ActionController partial rendering to use ActionView's partial code. Consequences: 2009-08-07 11:33:54 -03:00
abstract_controller.rb Move AbstractController to a top-level component 2009-08-06 22:51:24 -03:00
action_controller.rb Move AbstractController to a top-level component 2009-08-06 22:51:24 -03:00
action_dispatch.rb RequestForgeryProtection now works with the new base 2009-05-21 21:48:42 +02:00
action_pack.rb Bump up the year in MIT license files 2009-01-18 05:28:21 +00:00
action_view.rb Separate ActionView::Context so something else can easily be made into an AV context 2009-07-19 22:31:44 +09:00
actionpack.rb