Setup OAuth when rendering site#index from site#edit

This commit is contained in:
Tom Hughes 2013-10-31 20:52:43 +00:00
parent 781082cd20
commit 559a822f59

View file

@ -39,6 +39,7 @@ class SiteController < ApplicationController
editor = preferred_editor
if editor == "remote"
require_oauth
render :action => :index
return
end