Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In actionview, eliminate calls to tag that use html_safe parameter values. ↵ | Paul Grayson | 2014-06-13 | 1 | -5/+3 |
| | | | | This is generally unnecessary, since tag handles string quoting, except in one case (utf8_enforcer_tag) where we want to specify the encoding ourselves. | ||||
* | eliminate more wasteful allocations | Aaron Patterson | 2014-06-06 | 1 | -2/+2 |
| | |||||
* | Remove wrapper div for inputs in button_to | Rafael Mendonça França | 2014-04-17 | 1 | -1/+1 |
| | | | | Related with cbb917455f306cf5818644b162f22be09f77d4b2 | ||||
* | Reorder conditional logic | David Pedersen | 2014-03-18 | 1 | -10/+10 |
| | | | | | | According to the best practice that "unless not" and "unless else" is hard to follow logically the link_to_unless and link_to_if were reversed. | ||||
* | [skip ci] Fix typo in link_to :method option description | Matt Campbell | 2014-02-24 | 1 | -1/+1 |
| | |||||
* | Adding an documentation example and a test to button_to with path | Attila Domokos | 2014-02-02 | 1 | -0/+5 |
| | | | I did not see in the docs that `button_to` supports not only URLs but paths as well. I documented this functionality with a unit tests and added an example to the docs as well. | ||||
* | Remove warning of shadowing outer local variable | Rafael Mendonça França | 2013-10-27 | 1 | -2/+2 |
| | |||||
* | Merge pull request #10471 from andyw8/button_to_params | Rafael Mendonça França | 2013-10-24 | 1 | -0/+7 |
|\ | | | | | | | | | | | | | Add params option for button_to Conflicts: actionpack/CHANGELOG.md | ||||
| * | Add params option for button_to | Andy Waite | 2013-09-18 | 1 | -0/+7 |
| | | | | | | | | | | | | The parameters are rendered as hidden form fields within the generated form. This is useful for when a record has multiple buttons associated with it, each of which target the same controller method, but which need to submit different attributes. | ||||
* | | Change `map` to `map!` to save extra array creation on new array | Vipul A M | 2013-10-13 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #10773 from wangjohn/link_and_routing_options | Rafael Mendonça França | 2013-09-23 | 1 | -2/+3 |
|/ | | | | Adding documentation and tests to ``polymorphic_url`` and ``link_to`` | ||||
* | Using URI.parser.unescape | Arun Agrawal | 2013-08-03 | 1 | -2/+2 |
| | | | | | | Fixes warning warning: URI.unescape is obsolete | ||||
* | Make current_page? compare binary strings | Rafael Mendonça França | 2013-08-01 | 1 | -3/+4 |
| | |||||
* | Fix `current_page?` when the URL contains escaped characters | Rafael Mendonça França | 2013-08-01 | 1 | -2/+2 |
| | | | | | | | In some cases webservers like nginx send the escaped characters lowercased to the Rails application. The current_page? helper was comparing the escaped strings that are different since Ruby escapes the URL using uppercased characters. | ||||
* | Extract verbs array from helper to a constant | Vipul A M | 2013-07-20 | 1 | -2/+2 |
| | |||||
* | Include block in a argument shift | sanemat | 2013-07-08 | 1 | -6/+2 |
| | |||||
* | Fix link_to with block and url_hash | sanemat | 2013-07-07 | 1 | -1/+5 |
| | | | | | | Use link_to with block and url_hash, expect block as name. But ignore block and use url_hash as name. 3-2-stable passes this test. 4-0-stable and master fail this. | ||||
* | Move actionpack/lib/action_view* into actionview/lib | Piotr Sarnacki | 2013-06-20 | 1 | -0/+616 |