Sha256: 6cfa5f7429cf09e1db697c02a1f407c39a8a773eb95d4d7410b46ce216821ca9

Contents?: true

Size: 538 Bytes

Versions: 11

Compression:

Stored size: 538 Bytes

Contents

require 'rails/generators/active_record'

module BigbluebuttonRails
  module Generators
    class ViewsGenerator < Rails::Generators::Base
      source_root File.expand_path("../../../../app/views", __FILE__)
      desc "Copies all bigbluebutton_rails views into your application folders."

      argument :scope, :required => false, :default => nil,
                       :desc => "The scope to copy views to"

      def copy_views
        directory "bigbluebutton", "app/views/#{ scope || :bigbluebutton}"
      end

    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.2.0 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-1.1.0 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-1.0.0 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.1.1 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.1.0 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.0.6 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.0.5 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.0.4 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.0.3 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.0.2 lib/generators/bigbluebutton_rails/views_generator.rb
bigbluebutton_rails-0.0.1 lib/generators/bigbluebutton_rails/views_generator.rb