This project is archived and is in readonly mode.

Changeset [35de70fa2b91e1927686ad651de6f8c3126929e9] by Andrew White

March 23rd, 2011 @ 11:29 PM

Fix filter :only and :except with implicit actions

The method_name argument is "default_render" for implicit actions
so use the action_name attribute to determine which callbacks to run.

[#5673 state:resolved]

Committed by Andrew White

  • A actionpack/test/fixtures/filter_test/implicit_actions/edit.html.erb
  • A actionpack/test/fixtures/filter_test/implicit_actions/show.html.erb
  • M actionpack/lib/abstract_controller/callbacks.rb
  • M actionpack/test/controller/filters_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>