This project is archived and is in readonly mode.
Changeset [3eb97531b8650db5cc7b9558cc3828c56a526b6a] by wycats
Revision 3eb97531b8650db5cc7b9558cc3828c56a526b6a,
committed by wycats
· April 3rd, 2010 @ 10:44 AM
Refactored url_for in AV to have its own instances of the
helpers instead of proxying back to the controller. This
potentially allows for more standalone usage of AV. It also kicked
up a lot of dust in the tests, which were mocking out controllers
to get this behavior. By moving it to the view, it made a lot of
the tests more standalone (a win)
http://github.com/rails/rails/commit/3eb97531b8650db5cc7b9558cc3828...
14 changed files
-
M
actionpack/lib/action_view/base.rb -
M
actionpack/lib/action_view/helpers.rb -
M
actionpack/lib/action_view/helpers/form_helper.rb -
M
actionpack/lib/action_view/helpers/url_helper.rb -
M
actionpack/lib/action_view/test_case.rb -
M
actionpack/test/abstract_unit.rb -
M
actionpack/test/template/active_model_helper_test.rb -
M
actionpack/test/template/asset_tag_helper_test.rb -
M
actionpack/test/template/erb/helper.rb -
M
actionpack/test/template/form_helper_test.rb -
M
actionpack/test/template/form_tag_helper_test.rb -
M
actionpack/test/template/prototype_helper_test.rb -
M
actionpack/test/template/scriptaculous_helper_test.rb -
M
actionpack/test/template/url_helper_test.rb