From 559a822f59f54f74e9117882e9576ed4ad2c973f Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 31 Oct 2013 20:52:43 +0000 Subject: [PATCH] Setup OAuth when rendering site#index from site#edit --- app/controllers/site_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index 280f39fd8..cea37fbf3 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -39,6 +39,7 @@ class SiteController < ApplicationController editor = preferred_editor if editor == "remote" + require_oauth render :action => :index return end -- 2.43.2