Skip to content

Commit

Permalink
Updates codegenerator to require railtie if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwad committed Sep 6, 2024
1 parent 3067cf9 commit cff75b3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ require '{{.}}'
{{/require_core_guard?}}

require_relative '{{service_identifier}}/customizations'
require_relative '{{service_identifier}}/railtie' if defined?(Rails::Railtie)

# This module provides support for {{full_name}}. This module is available in the
# `{{gem_name}}` gem.
Expand Down

0 comments on commit cff75b3

Please sign in to comment.