From dae7cda4abe135b3bb5fe9cfb3380721a2feb03e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Wed, 11 Dec 2019 22:00:22 -0600 Subject: move sharekeys & import metadata to own tables --- app/controllers/remote_interaction_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/remote_interaction_controller.rb') diff --git a/app/controllers/remote_interaction_controller.rb b/app/controllers/remote_interaction_controller.rb index aa8f73ac8..7ecf95400 100644 --- a/app/controllers/remote_interaction_controller.rb +++ b/app/controllers/remote_interaction_controller.rb @@ -49,7 +49,7 @@ class RemoteInteractionController < ApplicationController @status = Status.find(params[:id]) @sharekey = params[:key] - if @status.sharekey.present? && @sharekey == @status.sharekey + if @status.sharekey.present? && @sharekey == @status.sharekey.key skip_authorization else authorize @status, :show? -- cgit