aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/erb/helper.rb
Commit message (Collapse)AuthorAgeFilesLines
* Don't require action_dispatch in ActionView::UrlHelpersPiotr Sarnacki2012-08-281-1/+2
| | | | | | | | | | ActionDispatch::Routing::UrlFor was always required in UrlHelpers. This was changed by splitting previous implementation of UrlHelper into 2 modules: ActionView::Helpers::UrlHelper and ActionView::Routing::UrlHelper. The former one keeps only basic implementation of url_for. The latter adds features that allow to use routes and is only required when url_helpers or mounted_helpers are required.
* Revert "Remove deprecated form_for with strings or symbols"José Valim2010-11-181-3/+1
| | | | | | | | | | | | | | | | This code was not deprecated. What was deprecated is the following: form_for(:foo, @foo) Which now should be rewritten as: form_for(@foo, :as => :foo) The following format is valid: form_for(:foo) This reverts commit be797750e6ce866ea08307f63bf35304a965c8d4.
* Remove deprecated form_for with strings or symbolsLeonardo Capillera2010-11-181-1/+3
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Refactored url_for in AV to have its own instances of the helpers instead of ↵wycats2010-04-031-9/+2
| | | | 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)
* Modify assert_template to use notifications. Also, remove ↵Carlhuda2010-03-171-0/+30
ActionController::Base#template since it is no longer needed.