summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-04-01 12:41:10 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-04-01 12:41:10 +0000
commita81927361e0b84a27fbfdfd43d9b7519bdeb5e9c (patch)
treefc4ea0e4a5a207c18c69120904ac56ed84cc9c2f /extra
parentbe04f1dd62705bb3a70ffadad0181130ddc6e839 (diff)
downloadredmine-a81927361e0b84a27fbfdfd43d9b7519bdeb5e9c.tar.gz
redmine-a81927361e0b84a27fbfdfd43d9b7519bdeb5e9c.zip
remove trailing white-spaces from extra/sample_plugin/app/controllers/example_controller.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9293 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r--extra/sample_plugin/app/controllers/example_controller.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/extra/sample_plugin/app/controllers/example_controller.rb b/extra/sample_plugin/app/controllers/example_controller.rb
index 8d63206af..dbc271a1b 100644
--- a/extra/sample_plugin/app/controllers/example_controller.rb
+++ b/extra/sample_plugin/app/controllers/example_controller.rb
@@ -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