diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-21 19:44:03 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-25 16:27:54 -0200 |
commit | 8a6a3e60f86cdd3496a4c36e84ea239e666622bb (patch) | |
tree | 70978b109f9ec356efac1d9759cf7499ca859c6e /activerecord/test/cases | |
parent | f7746e9be7ac268ebafb22ce32ae1c7208f26904 (diff) | |
download | rails-8a6a3e60f86cdd3496a4c36e84ea239e666622bb.tar.gz rails-8a6a3e60f86cdd3496a4c36e84ea239e666622bb.tar.bz2 rails-8a6a3e60f86cdd3496a4c36e84ea239e666622bb.zip |
Refactor button_to to avoid calling method#to_s twice
Reorganize button_to implementation a bit.
Also small refactor on current_page? method.
Diffstat (limited to 'activerecord/test/cases')
0 files changed, 0 insertions, 0 deletions