diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-14 07:27:31 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-07-14 07:27:31 +0000 |
commit | ee82a55602a2178f9d5a978be3bf8492855d2c7f (patch) | |
tree | 66f37b39f91217e64ef2e40bbdc96a4e574c7ad2 /extra/sample_plugin | |
parent | d2f7e31951d0e150df9cfd6da7d91d855f734d5f (diff) | |
download | redmine-ee82a55602a2178f9d5a978be3bf8492855d2c7f.tar.gz redmine-ee82a55602a2178f9d5a978be3bf8492855d2c7f.zip |
Use .before_action instead of .before_filter.
git-svn-id: http://svn.redmine.org/redmine/trunk@15655 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra/sample_plugin')
-rw-r--r-- | extra/sample_plugin/app/controllers/example_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sample_plugin/app/controllers/example_controller.rb b/extra/sample_plugin/app/controllers/example_controller.rb index dbc271a1b..b85599a37 100644 --- a/extra/sample_plugin/app/controllers/example_controller.rb +++ b/extra/sample_plugin/app/controllers/example_controller.rb @@ -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 |