From: Jean-Philippe Lang Date: Fri, 21 Mar 2008 20:02:41 +0000 (+0000) Subject: Add unloadable to the sample plugin controller (http://dev.rubyonrails.org/ticket... X-Git-Tag: 0.7.0-RC1~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=27cf6d8d641ccdc25edd706033f441351cf23ad8;p=redmine.git 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 --- 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