diff extra/sample_plugin/app/controllers/example_controller.rb @ 1339:c03a6c3c4db9 luisf

Merge
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 20 Jun 2013 14:34:42 +0100
parents 433d4f72a19b
children
line wrap: on
line diff
--- a/extra/sample_plugin/app/controllers/example_controller.rb	Wed Nov 21 18:16:32 2012 +0000
+++ b/extra/sample_plugin/app/controllers/example_controller.rb	Thu Jun 20 14:34:42 2013 +0100
@@ -1,20 +1,20 @@
 # Sample plugin controller
 class ExampleController < ApplicationController
   unloadable
-  
-  layout 'base'  
+
+  layout 'base'
   before_filter :find_project, :authorize
   menu_item :sample_plugin
-    
+
   def say_hello
     @value = Setting.plugin_sample_plugin['sample_setting']
   end
 
   def say_goodbye
   end
-  
+
 private
-  def find_project   
+  def find_project
     @project=Project.find(params[:id])
   end
 end