From 27cf6d8d641ccdc25edd706033f441351cf23ad8 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 21 Mar 2008 20:02:41 +0000 Subject: [PATCH] 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 --- extra/sample_plugin/app/controllers/example_controller.rb | 2 ++ 1 file changed, 2 insertions(+) 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