Skip to content

Commit

Permalink
Fixes #37468 - Support Zeitwerk loader
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren authored and adamruzicka committed Sep 10, 2024
1 parent 1f2acf1 commit 8896663
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/ui_template_syncs_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'ostruct'

class UiTemplateSyncsController < ApplicationController
class UITemplateSyncsController < ApplicationController
include ::Foreman::Controller::Parameters::TemplateParams

rescue_from ::ForemanTemplates::PathAccessException do |error|
Expand Down
2 changes: 1 addition & 1 deletion lib/foreman_templates/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Engine < ::Rails::Engine

initializer 'foreman_templates.register_plugin', :before => :finisher_hook do
Foreman::Plugin.register :foreman_templates do
requires_foreman '>= 3.7'
requires_foreman '>= 3.13'
register_gettext

apipie_documented_controllers ["#{ForemanTemplates::Engine.root}/app/controllers/api/v2/*.rb"]
Expand Down

0 comments on commit 8896663

Please sign in to comment.