Sha256: 1e071f1a15523866cf9735633dd111b52ed01ed269046083ddd9fd2a6df22b95

Contents?: true

Size: 817 Bytes

Versions: 5

Compression:

Stored size: 817 Bytes

Contents

RailsApp::Application.routes.draw do

  bigbluebutton_routes :default

  bigbluebutton_routes :default, :scope => "webconference"

  resources :users do
    bigbluebutton_routes :room_matchers
    resources :spaces do
      bigbluebutton_routes :room_matchers
    end
  end

  scope "only-servers" do
    bigbluebutton_routes :default, :only => "servers"
  end

  scope "only-rooms" do
    bigbluebutton_routes :default, :only => "rooms"
  end

  scope "only-recordings" do
    bigbluebutton_routes :default, :only => "recordings"
  end

  bigbluebutton_routes :default,
    :scope => "custom",
    :controllers => { :servers => "custom_servers",
                      :rooms => "custom_rooms",
                      :recordings => "custom_recordings" },
    :as => "custom_name"

  root :to => "frontpage#show"

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.3.0.mweb1 spec/rails_app/config/routes.rb
bigbluebutton_rails-1.4.0 spec/rails_app/config/routes.rb
bigbluebutton_rails-1.4.0.beta1 spec/rails_app/config/routes.rb
bigbluebutton_rails-1.3.0 spec/rails_app/config/routes.rb
bigbluebutton_rails-1.3.0.beta1 spec/rails_app/config/routes.rb