diff options
author | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-19 10:33:25 -0400 |
---|---|---|
committer | Josh Kalderimis <josh.kalderimis@gmail.com> | 2011-05-19 10:33:25 -0400 |
commit | 968596fa7f2cd3218f8361a1ef19b666439ce142 (patch) | |
tree | db5e8037d096de6d299a546ab80af63b6cfe86e0 /actionpack/test/controller/log_subscriber_test.rb | |
parent | 95bd19911a62fe7dbe8e72c08e29902efdcfce85 (diff) | |
download | rails-968596fa7f2cd3218f8361a1ef19b666439ce142.tar.gz rails-968596fa7f2cd3218f8361a1ef19b666439ce142.tar.bz2 rails-968596fa7f2cd3218f8361a1ef19b666439ce142.zip |
renamed the wrap_parameters :only and :except options to :include and :exclude to make it consistent with controller filters
Diffstat (limited to 'actionpack/test/controller/log_subscriber_test.rb')
-rw-r--r-- | actionpack/test/controller/log_subscriber_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/log_subscriber_test.rb b/actionpack/test/controller/log_subscriber_test.rb index 5d7a51e902..80c4fa2ee5 100644 --- a/actionpack/test/controller/log_subscriber_test.rb +++ b/actionpack/test/controller/log_subscriber_test.rb @@ -4,7 +4,7 @@ require "action_controller/log_subscriber" module Another class LogSubscribersController < ActionController::Base - wrap_parameters :person, :only => :name, :format => :json + wrap_parameters :person, :include => :name, :format => :json def show render :nothing => true @@ -34,11 +34,11 @@ module Another cache_page("Super soaker", "/index.html") render :nothing => true end - + def with_exception raise Exception end - + end end |