mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
houndci fixes
This commit is contained in:
parent
cda2a0a1ae
commit
43c11133e4
1 changed files with 2 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ module Admin
|
|||
class SchedulesController < ApplicationController
|
||||
before_filter :verify_organizer
|
||||
skip_before_filter :verify_authenticity_token, only: [:update]
|
||||
layout "schedule"
|
||||
layout 'schedule'
|
||||
|
||||
def show
|
||||
if @conference.nil?
|
||||
|
|
@ -32,7 +32,7 @@ module Admin
|
|||
error_message = "Could not find room GUID: #{params[:room]}"
|
||||
end
|
||||
|
||||
if !error_message.nil?
|
||||
unless error_message.nil?
|
||||
render json: { 'status' => 'error', 'message' => error_message }, status: 500
|
||||
return
|
||||
end
|
||||
|
|
@ -50,6 +50,5 @@ module Admin
|
|||
event.save!
|
||||
render json: { 'status' => 'ok' }
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue