annotate .svn/pristine/d2/d24962e05eefa8c4a95f4bd86c0954dda018dde6.svn-base @ 1628:9c5f8e24dadc live tip

Quieten this cron script
author Chris Cannam
date Tue, 25 Aug 2020 11:38:49 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 # Sample plugin controller
Chris@909 2 class ExampleController < ApplicationController
Chris@909 3 unloadable
Chris@909 4
Chris@909 5 layout 'base'
Chris@909 6 before_filter :find_project, :authorize
Chris@909 7 menu_item :sample_plugin
Chris@909 8
Chris@909 9 def say_hello
Chris@909 10 @value = Setting.plugin_sample_plugin['sample_setting']
Chris@909 11 end
Chris@909 12
Chris@909 13 def say_goodbye
Chris@909 14 end
Chris@909 15
Chris@909 16 private
Chris@909 17 def find_project
Chris@909 18 @project=Project.find(params[:id])
Chris@909 19 end
Chris@909 20 end