Sha256: 007ae2a47c80c36063d434ee88b0b657bf002ea82ad8eafafc424b307ed74883

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

module AlertMessage
  class InstallGenerator < Rails::Generators::Base
    source_root File.expand_path('../templates', __FILE__)

    def copy_gfiles_alert
      remove_file("app/views/layouts/_alerts.html.erb", force = true)
      copy_file "_alerts.html.erb", "app/views/layouts/_alerts.html.erb"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alert_message-1.1.0 lib/generators/alert_message/install_generator.rb