Sha256: ac59799baf2112dfcdb4e32efddebdf07ebb59d45b852b4a6a3b7465b6b687e2

Contents?: true

Size: 585 Bytes

Versions: 2

Compression:

Stored size: 585 Bytes

Contents

# Copyright (c) 2012 Ronald Ping Man Chan
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

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

      desc "Creates a Ajax Pagination initializer"

      def initializer
        template "ajax_pagination.rb", "config/initializers/ajax_pagination.rb"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ajax_pagination-0.6.5 lib/generators/ajax_pagination/install_generator.rb
ajax_pagination-0.6.4 lib/generators/ajax_pagination/install_generator.rb