Sha256: a77b0a014fb28d59dfbf736d66fdf9eb22fbd2bcc0bb3978de4bcf38c1b93320

Contents?: true

Size: 464 Bytes

Versions: 2

Compression:

Stored size: 464 Bytes

Contents

module Voltron
  module Flash
    module Generators
      module Install
        class ViewsGenerator < Rails::Generators::Base

          source_root File.expand_path('../../../../../../', __FILE__)

          desc 'Install Voltron Flash views'

          def copy_views
            copy_file 'app/views/voltron/flash/flashes.html.erb', Rails.root.join('app', 'views', 'voltron', 'flash', 'flashes.html.erb')
          end

        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
voltron-flash-0.1.8 lib/generators/voltron/flash/install/views_generator.rb
voltron-flash-0.1.7 lib/generators/voltron/flash/install/views_generator.rb