diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-21 20:02:41 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-21 20:02:41 +0000 |
commit | 27cf6d8d641ccdc25edd706033f441351cf23ad8 (patch) | |
tree | fe393111d103f3716833644fb4d1796ba5a09454 /extra/sample_plugin | |
parent | 09bf503fd2d46bcc17fbf84faaf16e651a28583c (diff) | |
download | redmine-27cf6d8d641ccdc25edd706033f441351cf23ad8.tar.gz redmine-27cf6d8d641ccdc25edd706033f441351cf23ad8.zip |
Add unloadable to the sample plugin controller (http://dev.rubyonrails.org/ticket/6001).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1282 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, 2 insertions, 0 deletions
diff --git a/extra/sample_plugin/app/controllers/example_controller.rb b/extra/sample_plugin/app/controllers/example_controller.rb index 9bdaf448e..0c6cd5b91 100644 --- a/extra/sample_plugin/app/controllers/example_controller.rb +++ b/extra/sample_plugin/app/controllers/example_controller.rb @@ -1,5 +1,7 @@ # Sample plugin controller class ExampleController < ApplicationController + unloadable + layout 'base' before_filter :find_project, :authorize |