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

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

No files matched your search

+1 -1
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