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