mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 22:56:14 +08:00
![Joffrey JAFFEUX](/assets/img/avatar_default.png)
Fixes bugs, simplifies code, more default files. General idea, more is more here as it's easier to just delete things than reading and passing all the options.
6 lines
121 B
Plaintext
6 lines
121 B
Plaintext
class <%= classified_name %>Constraint
|
|
def matches?(request)
|
|
SiteSetting.<%= underscored_name %>_enabled
|
|
end
|
|
end
|