Use .before_action instead of .before_filter.

git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2016-07-14 07:27:31 +00:00
parent d2f7e31951
commit ee82a55602
50 changed files with 122 additions and 122 deletions

View File

@@ -3,7 +3,7 @@ class ExampleController < ApplicationController
unloadable
layout 'base'
before_filter :find_project, :authorize
before_action :find_project, :authorize
menu_item :sample_plugin
def say_hello