Sha256: 7ace35dab624c703a8fada54b8c9c2d1e567dceb14436d11baba899202738010

Contents?: true

Size: 322 Bytes

Versions: 6

Compression:

Stored size: 322 Bytes

Contents

module Kaminari
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path('../../../../app/views', __FILE__)

      desc 'Copies all paginator partials to your application.'
      def copy_views
        directory 'kaminari', 'app/views/kaminari'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kaminari-0.5.0 lib/generators/kaminari/views_generator.rb
kaminari-0.4.0 lib/generators/kaminari/views_generator.rb
kaminari-0.3.0 lib/generators/kaminari/views_generator.rb
kaminari-0.2.1 lib/generators/kaminari/views_generator.rb
kaminari-0.2.0 lib/generators/kaminari/views_generator.rb
kaminari-0.1.0 lib/generators/kaminari/views_generator.rb