beautify map invocations of users

This commit is contained in:
wvengen 2013-10-29 18:46:55 +01:00
parent 1870276cd2
commit e968919cce
4 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
= yield
= f.input :user_tokens, :as => :string,
:input_html => { 'data-pre' => f.object.users.map { |u| u.token_attributes }.to_json }
:input_html => { 'data-pre' => f.object.users.map(&:token_attributes).to_json }
- content_for :javascript do
:javascript