Remove self-explaintory comment.
This commit is contained in:
parent
530e715588
commit
d77afa4c98
|
@ -7,7 +7,6 @@ class DiscourseChat::PluginModel < PluginStoreRow
|
||||||
after_initialize :init_plugin_model
|
after_initialize :init_plugin_model
|
||||||
before_save :set_key
|
before_save :set_key
|
||||||
|
|
||||||
# Restrict the scope to JSON PluginStoreRows which are for this plugin, and this model
|
|
||||||
def self.default_scope
|
def self.default_scope
|
||||||
where(type_name: 'JSON')
|
where(type_name: 'JSON')
|
||||||
.where(plugin_name: self::PLUGIN_NAME)
|
.where(plugin_name: self::PLUGIN_NAME)
|
||||||
|
|
Loading…
Reference in New Issue