mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 21:23:59 +08:00
d83f99fc2e
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.
11 lines
210 B
Plaintext
11 lines
210 B
Plaintext
module <%= classified_name %>
|
|
class <%= classified_name %>Controller < ::ApplicationController
|
|
requires_plugin <%= classified_name %>
|
|
|
|
before_action :ensure_logged_in
|
|
|
|
def index
|
|
end
|
|
end
|
|
end
|