17 lines
490 B
Text
17 lines
490 B
Text
# frozen_string_literal: true
|
|
|
|
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
|
|
<% if namespaced? -%>
|
|
require_dependency "<%= namespaced_path %>/application_controller"
|
|
|
|
<% end -%>
|
|
<% module_namespacing do -%>
|
|
class <%= class_name %>Controller < ApplicationController
|
|
<% actions.each do |action| -%>
|
|
def <%= action %>
|
|
end
|
|
<%= "\n" unless action == actions.last -%>
|
|
<% end -%>
|
|
end
|
|
<% end -%>
|