diff options
author | Xavier Noria <fxn@hashref.com> | 2012-12-07 11:52:42 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-12-07 11:52:42 -0800 |
commit | 9cb91f93295785dd393023223976101a8dafef03 (patch) | |
tree | 0a4195fa8ce31c21bec08bf28b495d10221a8d89 /actionpack/test/controller/http_token_authentication_test.rb | |
parent | 85f4956fad22e1e039149a76db962157112679b6 (diff) | |
parent | a53a7bea8096a163876bb9961deb60f6c96b1493 (diff) | |
download | rails-9cb91f93295785dd393023223976101a8dafef03.tar.gz rails-9cb91f93295785dd393023223976101a8dafef03.tar.bz2 rails-9cb91f93295785dd393023223976101a8dafef03.zip |
Merge pull request #8455 from frodsan/actionize
Actionize: Use `_action` callbacks in documentation and code
Diffstat (limited to 'actionpack/test/controller/http_token_authentication_test.rb')
-rw-r--r-- | actionpack/test/controller/http_token_authentication_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/http_token_authentication_test.rb b/actionpack/test/controller/http_token_authentication_test.rb index ad4e743be8..8a409d6ed2 100644 --- a/actionpack/test/controller/http_token_authentication_test.rb +++ b/actionpack/test/controller/http_token_authentication_test.rb @@ -2,9 +2,9 @@ require 'abstract_unit' class HttpTokenAuthenticationTest < ActionController::TestCase class DummyController < ActionController::Base - before_filter :authenticate, :only => :index - before_filter :authenticate_with_request, :only => :display - before_filter :authenticate_long_credentials, :only => :show + before_action :authenticate, only: :index + before_action :authenticate_with_request, only: :display + before_action :authenticate_long_credentials, only: :show def index render :text => "Hello Secret" |