Sha256: 30617cf72385eec9411633d96fc77b5da747d34ed71dc9214678e5c9fe50da93

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

module RailsPaginate
  module Generators # :nodoc:
    # Install Generator
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      desc "Install the rails_paginate plugin"
      def install
        copy_file "config/initializers/paginate.rb", "config/initializers/paginate.rb"
        copy_file "config/locales/en.yml", "config/locales/paginate.en.yml"
        copy_file "config/locales/de.yml", "config/locales/paginate.de.yml"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_paginate-0.0.7 lib/generators/rails_paginate/install_generator.rb
rails_paginate-0.0.6 lib/generators/rails_paginate/install_generator.rb
rails_paginate-0.0.5 lib/generators/rails_paginate/install_generator.rb