mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add rubocop to our build. (#5004)
This commit is contained in:
@@ -9,7 +9,7 @@ class TopicSubtype
|
||||
end
|
||||
|
||||
def attributes
|
||||
{'id' => @id, 'options' => @options }
|
||||
{ 'id' => @id, 'options' => @options }
|
||||
end
|
||||
|
||||
def self.list
|
||||
@@ -41,7 +41,7 @@ class TopicSubtype
|
||||
'pending_users'
|
||||
end
|
||||
|
||||
def self.register(name, options={})
|
||||
def self.register(name, options = {})
|
||||
@subtypes ||= {}
|
||||
@subtypes[name] = TopicSubtype.new(name, options)
|
||||
end
|
||||
|
Reference in New Issue
Block a user