Vote #79057
完了Remove 'unloadable' from bundled sample plugin
0%
説明
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
journals
--------------------------------------------------------------------------------
Committed to the trunk. Thank you for pointing it out.
--------------------------------------------------------------------------------
Merged to 3.4-stable.
--------------------------------------------------------------------------------
related_issues
relates,Closed,20513,Unloadable plugin convention breaks with Rails 4.2.3