Sha256: f61937e00db2decc5a9899fcfb29324d410ba900f20afc2ff304eb83083d1155

Contents?: true

Size: 323 Bytes

Versions: 8

Compression:

Stored size: 323 Bytes

Contents

require 'rails/generators'

module ActsAsSeoable
  module Generators
    class InstallGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../templates', __FILE__)

      def copy_initializer_file
        copy_file 'initializer.rb', 'config/initializers/acts_as_seoable.rb'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fi_seo-0.1.7 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.6 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.5 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.4 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.3 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.2 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.1 lib/generators/acts_as_seoable/install/install_generator.rb
fi_seo-0.1.0 lib/generators/acts_as_seoable/install/install_generator.rb