app/controllers/bigbluebutton/servers_controller.rb in bigbluebutton_rails-0.1.1 vs app/controllers/bigbluebutton/servers_controller.rb in bigbluebutton_rails-1.0.0

- old
+ new

@@ -1,10 +1,10 @@ class Bigbluebutton::ServersController < ApplicationController respond_to :html - respond_to :json, :only => [:index, :show, :new, :create, :update, :destroy, :activity, :rooms] - before_filter :find_server, :only => [:show, :edit, :activity, :update, :destroy, :rooms] + respond_to :json, :only => [:index, :show, :new, :create, :update, :destroy, :activity] + before_filter :find_server, :only => [:show, :edit, :activity, :update, :destroy] def index respond_with(@servers = BigbluebuttonServer.all) end @@ -93,13 +93,9 @@ respond_with do |format| format.html { redirect_to(bigbluebutton_servers_url) } format.json { head :ok } end - end - - def rooms - respond_with(@rooms = @server.rooms) end protected def find_server