discourse/lib/generators/plugin/templates/plugin_controller.rb.erb

11 lines
210 B
Plaintext
Raw Normal View History

module <%= classified_name %>
class <%= classified_name %>Controller < ::ApplicationController
requires_plugin <%= classified_name %>
before_action :ensure_logged_in
def index
end
end
end