Fix #249 - use window.location hack to let people login from sandboxed iOS homescreen

This commit is contained in:
Eugen Rochko
2016-12-21 00:13:13 +01:00
parent 806ffbab63
commit e09d3a2c66
9 changed files with 48 additions and 13 deletions

View File

@ -4,7 +4,7 @@ class MediaController < ApplicationController
before_action :set_media_attachment
def show
redirect_to TagManager.instance.url_for(@media_attachment.status)
redirect_to @media_attachment.file.url(:original)
end
private