Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from deprecated before_filter callback to before_action #23176

Merged
merged 1 commit into from Jun 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion dashboard/app/controllers/api/v1/assessments_controller.rb
@@ -1,7 +1,7 @@
class Api::V1::AssessmentsController < Api::V1::JsonApiController
include LevelsHelper

before_filter :load_from_cache
before_action :load_from_cache
load_and_authorize_resource :section, only: [:section_responses, :section_surveys]
load_and_authorize_resource :script

Expand Down