diff --git a/app/controllers/iframes_controller.rb b/app/controllers/iframes_controller.rb index 9fed6add6..2d1091219 100644 --- a/app/controllers/iframes_controller.rb +++ b/app/controllers/iframes_controller.rb @@ -1,5 +1,7 @@ class IframesController < ApplicationController layout false + skip_before_filter :verify_authenticity_token, :only => [:html_content] + def show render :layout => false end diff --git a/app/views/games/_code_actions.html.erb b/app/views/games/_code_actions.html.erb index 26b81d68a..77125254e 100644 --- a/app/views/games/_code_actions.html.erb +++ b/app/views/games/_code_actions.html.erb @@ -32,12 +32,14 @@