Mercurial > hg > soundsoftware-site
view .svn/pristine/79/792291627fe731edc6c641f7c6fd4a8dbaf670c1.svn-base @ 1459:cf78a7ade302 luisf
Merge from branch "bug_794"
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:50 +0000 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
# Sample plugin controller class ExampleController < ApplicationController unloadable 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 @project=Project.find(params[:id]) end end