Setup OAuth when rendering site#index from site#edit
This commit is contained in:
parent
781082cd20
commit
559a822f59
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ class SiteController < ApplicationController
|
|||
editor = preferred_editor
|
||||
|
||||
if editor == "remote"
|
||||
require_oauth
|
||||
render :action => :index
|
||||
return
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue