Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix meeting actions #197

Merged
merged 1 commit into from
Jun 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/bigbluebutton_rails/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ def initialize
servers: 'bigbluebutton/servers',
rooms: 'bigbluebutton/rooms',
recordings: 'bigbluebutton/recordings',
playback_types: 'bigbluebutton/playback_types'
playback_types: 'bigbluebutton/playback_types',
meetings: 'bigbluebutton/meetings'
}
@routing_scope = 'bigbluebutton'

Expand Down Expand Up @@ -133,7 +134,7 @@ def initialize

def set_controllers(options)
unless options.nil? || options.empty?
@controllers.merge!(options).slice!(:servers, :rooms, :recordings, :playback_types)
@controllers.merge!(options).slice!(:servers, :rooms, :recordings, :playback_types, :meetings)
end
end

Expand Down
3 changes: 2 additions & 1 deletion lib/bigbluebutton_rails/rails/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ def add_routes_for_playback_types #:nodoc:
end

def add_routes_for_meetings #:nodoc:
resources :meetings, :controller => 'bigbluebutton/meetings', :only => [:destroy, :update, :edit]
resources :meetings, :only => [:destroy, :update, :edit],
:controller => BigbluebuttonRails.configuration.controllers[:meetings]
end
end
end