Sha256: c586703119f22f2b0d34fe7c6b523e00c610791ffc9821c183a61ab9204bc3eb

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 Bytes

Contents

require 'rails/generators/active_record'

module BigbluebuttonRails
  module Generators
    class PublicGenerator < Rails::Generators::Base
      source_root File.expand_path("../templates/public", __FILE__)
      desc "Copies all bigbluebutton_rails public files (javascripts and images) to your application."

      def copy_files
        copy_file "javascripts/heartbeat.js", "public/javascripts/heartbeat.js"
        copy_file "javascripts/jquery.min.js", "public/javascripts/jquery.min.js"
        copy_file "images/loading.gif", "public/images/loading.gif"
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-0.0.2 lib/generators/bigbluebutton_rails/public_generator.rb
bigbluebutton_rails-0.0.1 lib/generators/bigbluebutton_rails/public_generator.rb