Project

General

Profile

Actions

Patch #27963

closed

Remove 'unloadable' from bundled sample plugin

Added by Mischa The Evil almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Pretty straightforward. After #20513, the statement should be removed from the bundled example plugin too (i.e. r1282 should be reverted). The following raw patch (against source:/trunk@17169) takes care of this:

Index: extra/sample_plugin/app/controllers/example_controller.rb
===================================================================
--- extra/sample_plugin/app/controllers/example_controller.rb    (revision 17169)
+++ extra/sample_plugin/app/controllers/example_controller.rb    (working copy)
@@ -1,7 +1,5 @@
 # Sample plugin controller
 class ExampleController < ApplicationController
-  unloadable
-
   layout 'base'
   before_action :find_project, :authorize
   menu_item :sample_plugin


Related issues

Related to Redmine - Defect #20513: Unloadable plugin convention breaks with Rails 4.2.3Closed

Actions
Actions

Also available in: Atom PDF