aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller/translation.rb
Commit message (Collapse)AuthorAgeFilesLines
* AbstractController::Translation#t: dup optionsNazar Matus2019-02-151-0/+1
|
* Use frozen string literal in actionpack/Kir Shatrov2017-07-291-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Allow translate default option to accept an array similar to i18n.t. Fixes ↵Vipul A M2017-06-151-1/+1
| | | | #29441
* applies new string literal convention in actionpack/libXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* ActionController#translate also lookups shortcut without action nameMax Melentiev2013-10-221-1/+5
|
* ActionController#translate supports symbolsprintercu2013-09-251-6/+3
| | | | Made it similar to views helper.
* change useless gsub to trrobertomiranda2013-03-051-1/+1
|
* Review #translate docs [ci skip]Carlos Antonio da Silva2013-01-201-8/+7
|
* Add documentation for abstract controller #translate and #localize method.Jens Bissinger2013-01-201-0/+10
|
* add lazy look up in abstract controller's translate methodSergey Pchelincev2012-07-181-1/+7
|
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-0/+13