Sha256: de056c6ca47d124b89bc6f732236ac450d304a8d76c5867ce6de6ad6e2bc94be

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 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

1 entries across 1 versions & 1 rubygems

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