mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-15 12:44:03 +00:00
fix conflicts
This commit is contained in:
parent
e2fb434dc7
commit
71dfb3b7e4
34 changed files with 160 additions and 211 deletions
|
|
@ -67,7 +67,6 @@ class EventAttachmentsController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
if @upload.save
|
||||
<<<<<<< HEAD
|
||||
format.html do
|
||||
render json: [@upload.to_jq_upload].to_json,
|
||||
content_type: 'text/html',
|
||||
|
|
@ -77,15 +76,6 @@ class EventAttachmentsController < ApplicationController
|
|||
render json: [@upload.to_jq_upload].to_json, status: :created,
|
||||
location: conference_proposal_event_attachment_path(@upload.event.conference.short_title, @upload.event, @upload)
|
||||
end
|
||||
=======
|
||||
format.html {
|
||||
render :json => [@upload.to_jq_upload].to_json,
|
||||
:content_type => 'text/html',
|
||||
:layout => false
|
||||
}
|
||||
format.json { render json: {files: [@upload.to_jq_upload]}, status: :created,
|
||||
location: conference_proposal_event_attachment_path(@upload.event.conference.short_title, @upload.event, @upload) }
|
||||
>>>>>>> authorization with cancancan
|
||||
else
|
||||
format.html { render action: "new" }
|
||||
format.json { render json: @upload.errors, status: :unprocessable_entity }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue