Sha256: 94dbb1ad4edd5565674301cd26e4f12008247fe0fe5b8fd191d752fafc899010

Contents?: true

Size: 394 Bytes

Versions: 7

Compression:

Stored size: 394 Bytes

Contents

require 'rails/generators/base'

module IReach
  module Generators
    class LayoutGenerator < Rails::Generators::Base
      source_root IReach::PLUGIN_ROOT

      desc "Copies IReach's default layout to your application."

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
i_reach-3.2.25.1 lib/generators/i_reach/layout_generator.rb
i_reach-3.2.22.0 lib/generators/i_reach/layout_generator.rb
i_reach-3.2.7 lib/generators/i_reach/layout_generator.rb
i_reach-3.2.5 lib/generators/i_reach/layout_generator.rb
i_reach-3.2.4 lib/generators/i_reach/layout_generator.rb
i_reach-3.2.3 lib/generators/i_reach/layout_generator.rb
i_reach-3.2.2 lib/generators/i_reach/layout_generator.rb