Module: Stationed::Generators::Plugins::Kaminari

Included in:
AppGenerator
Defined in:
lib/stationed/generators/plugins/kaminari.rb

Instance Method Summary collapse

Instance Method Details

#finish_templateObject



5
6
7
8
# File 'lib/stationed/generators/plugins/kaminari.rb', line 5

def finish_template
  gem 'kaminari'
  super
end

#run_bundleObject



10
11
12
13
14
# File 'lib/stationed/generators/plugins/kaminari.rb', line 10

def run_bundle
  super
  generate 'kaminari:config'
  generate 'kaminari:views default'
end