Sha256: a998860c2dfbd5e67d442de26eea6a6283d7b74e7401ba12025d953dc66da645

Contents?: true

Size: 552 Bytes

Versions: 14

Compression:

Stored size: 552 Bytes

Contents

require 'rails/generators'
module Ideyabox
  module Generators
    class AssetsGenerator < ::Rails::Generators::Base
      source_root File.expand_path('../../../../../app', __FILE__)

      def add_assets_to_admin_layout
        directory "helpers", "app/helpers"
        directory "assets/stylesheets", "app/assets/stylesheets"
        directory "assets/images", "app/assets/images"
        directory "assets/javascripts", "app/assets/javascripts/"
        copy_file "tasks/reset_db.rake", "lib/tasks/reset_db.rake"
      end
      
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ideyabox-0.1.12 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.11 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.10 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.9 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.8 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.7 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.6 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.5 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.4 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.3 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.2 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.1.0 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.0.6 lib/generators/ideyabox/assets/assets_generator.rb
ideyabox-0.0.5 lib/generators/ideyabox/assets/assets_generator.rb