Sha256: 5e6d5f7c447f301176d1366ab7ee44bdf89cd04508650651e7898995ea83b681

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/migration'

module SeoOptimizer
  class FastConfigGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)
    desc 'Generates base setup file'

    def add_meta_tags
      generate 'seo_optimizer:meta_tags'
      generate 'seo_optimizer:error_pages'
      generate 'seo_optimizer:setups'
      generate 'seo_optimizer:robots_files'
      rake 'sitemap:generate'
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
seo_optimizer-0.1.1 lib/generators/seo_optimizer/fast_config/fast_config_generator.rb