FIX: Only enable the controller when the plugin is enabled
This commit is contained in:
parent
ac00f8b984
commit
7eb79ea31d
|
@ -81,6 +81,7 @@ after_initialize do
|
|||
require_dependency "application_controller"
|
||||
|
||||
class Presence::PresencesController < ::ApplicationController
|
||||
requires_plugin PLUGIN_NAME
|
||||
before_filter :ensure_logged_in
|
||||
|
||||
def publish
|
||||
|
|
Loading…
Reference in New Issue