Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@17170 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.0.0
# Sample plugin controller | # Sample plugin controller | ||||
class ExampleController < ApplicationController | class ExampleController < ApplicationController | ||||
unloadable | |||||
layout 'base' | layout 'base' | ||||
before_action :find_project, :authorize | before_action :find_project, :authorize | ||||
menu_item :sample_plugin | menu_item :sample_plugin |