aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-04-26 15:18:33 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2009-04-26 15:18:33 -0700
commit8d64085138b1a2ff36b94267d0236868b287610e (patch)
tree928eba809df85dfe47195f05171d60af3dec6665 /actionpack/lib/action_view/helpers
parentbe7e21a85c487b6f3bfc2e393387ada5cc52290d (diff)
downloadrails-8d64085138b1a2ff36b94267d0236868b287610e.tar.gz
rails-8d64085138b1a2ff36b94267d0236868b287610e.tar.bz2
rails-8d64085138b1a2ff36b94267d0236868b287610e.zip
Only Object to_json alias is needed. Prefer nil options.
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r--actionpack/lib/action_view/helpers/prototype_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb
index 868c8226c4..9cafd17004 100644
--- a/actionpack/lib/action_view/helpers/prototype_helper.rb
+++ b/actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -1188,8 +1188,6 @@ module ActionView
@variable
end
- alias to_json rails_to_json
-
private
def append_to_function_chain!(call)
@generator << @variable if @empty