lib/tramway/user/generators/install_generator.rb in tramway-user-2.1 vs lib/tramway/user/generators/install_generator.rb in tramway-user-2.1.0.1

- old
+ new

@@ -1,11 +1,13 @@ +# frozen_string_literal: true + require 'rails/generators' require 'tramway/core/generators/install_generator' module Tramway::User::Generators class InstallGenerator < ::Tramway::Core::Generators::InstallGenerator include Rails::Generators::Migration - source_root File.expand_path('../templates', __FILE__) + source_root File.expand_path('templates', __dir__) desc 'Add the migrations for User' def run_another_generators generate 'tramway:core:install'