Sha256: 3fb251b0b126929f4d4c1d6a833c1a0823387a984069076ca1ea41e93e6b4555
Contents?: true
Size: 643 Bytes
Versions: 12
Compression:
Stored size: 643 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 event_calendar\n", :after => " *= require enju_leaf\n" inject_into_file 'app/assets/javascripts/application.js', "//= require event_calendar\n", :after => "//= require enju_leaf\n" end end
Version data entries
12 entries across 12 versions & 1 rubygems