Sha256: 005093e2f719d42ee412f96375795d4f1f845be8ddb922e5db79ca0c7be7be17
Contents?: true
Size: 467 Bytes
Versions: 15
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true require 'rails/generators' module BulmaFormRails module Generators class PagyConfigGenerator < Rails::Generators::Base source_root File.expand_path('../../templates', __FILE__) def copy_pagy_config copy_file File.join(Gem.loaded_specs['bulma_form_rails'].full_gem_path, 'lib', 'templates', 'config', 'initializers', 'pagy.rb'), File.join('config', 'initializers', 'pagy.rb') end end end end
Version data entries
15 entries across 15 versions & 1 rubygems