Sha256: ba88af2090d2f1710e376b36f0aa1ba7b1a7d7963029a73b724b2eb3bc67d6ff
Contents?: true
Size: 659 Bytes
Versions: 16
Compression:
Stored size: 659 Bytes
Contents
class EnjuEvent::SetupGenerator < Rails::Generators::Base source_root File.expand_path('../templates', __FILE__) def copy_setup_files directory("db/fixtures", "db/fixtures/enju_event") rake("enju_event_engine:install:migrations") inject_into_file 'app/controllers/application_controller.rb', " enju_event\n", :after => "enju_library\n" inject_into_file 'app/assets/stylesheets/application.css', " *= require enju_event/application\n", :after => " *= require enju_leaf\n" inject_into_file 'app/assets/javascripts/application.js', "//= require enju_event/application\n", :after => "//= require enju_leaf\n" end end
Version data entries
16 entries across 16 versions & 1 rubygems