diff options
| author | mo khan <mo@mokhan.ca> | 2014-09-07 08:08:28 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-09-07 08:08:28 -0600 |
| commit | 48b69b3ba446bc3e97d92f1ecae47a31112a2275 (patch) | |
| tree | 14d714beb85521deac8350f26ac7aac9153998e5 /app/controllers/api | |
| parent | 24d66ea2011900309606702c9525fe1efaa1f8a9 (diff) | |
rename before_filter to before_action.
Diffstat (limited to 'app/controllers/api')
| -rw-r--r-- | app/controllers/api/v1/api_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/api_controller.rb b/app/controllers/api/v1/api_controller.rb index f324c519..54546048 100644 --- a/app/controllers/api/v1/api_controller.rb +++ b/app/controllers/api/v1/api_controller.rb @@ -1,7 +1,7 @@ module Api module V1 class ApiController < ApplicationController - before_filter :restrict_access + before_action :restrict_access attr_reader :current_user private |
