Sha256: 7d896f50201f7e8e390d86591ff3b92d0e80e0814b272441eff553f35c9f77cb

Contents?: true

Size: 369 Bytes

Versions: 21

Compression:

Stored size: 369 Bytes

Contents

module InsteddRails
  module Generators
    class LayoutGenerator < ::Rails::Generators::Base
      source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))

      desc "Copy layout files to your application."

      def copy_initializer
        copy_file "application.html.erb", "app/views/layouts/application.html.erb"
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
instedd-rails-0.0.27 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.26 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.25 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.24 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.23 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.22 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.21 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.18 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.17 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.16 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.15 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.14 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.13 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.12 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.11 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.10 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.9 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.6 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.5 lib/generators/instedd_rails/layout_generator.rb
instedd-rails-0.0.4 lib/generators/instedd_rails/layout_generator.rb