Module: Stationed::Generators::Plugins::Draper

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

Instance Method Summary collapse

Instance Method Details

#finish_templateObject



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

def finish_template
  gem 'draper'
  copy_file 'application_decorator.rb', 'app/decorators/application_decorator.rb'
  copy_file 'paginating_decorator.rb', 'app/decorators/paginating_decorator.rb'
  super
end