##// END OF EJS Templates
remove trailing white-spaces from extra/sample_plugin/app/controllers/example_controller.rb...
Toshi MARUYAMA -
r9159:a81927361e0b
parent child
Show More
@@ -1,20 +1,20
1 1 # Sample plugin controller
2 2 class ExampleController < ApplicationController
3 3 unloadable
4
5 layout 'base'
4
5 layout 'base'
6 6 before_filter :find_project, :authorize
7 7 menu_item :sample_plugin
8
8
9 9 def say_hello
10 10 @value = Setting.plugin_sample_plugin['sample_setting']
11 11 end
12 12
13 13 def say_goodbye
14 14 end
15
15
16 16 private
17 def find_project
17 def find_project
18 18 @project=Project.find(params[:id])
19 19 end
20 20 end
General Comments 0
You need to be logged in to leave comments. Login now