Class: SocialCheesecake::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/social_cheesecake/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#require_javascriptsObject



5
6
7
8
9
# File 'lib/generators/social_cheesecake/install_generator.rb', line 5

def require_javascripts
  inject_into_file 'app/assets/javascripts/application.js',
                   "//= require social_cheesecake\n",
                   :before => '//= require_tree .'
end