New 'main_app.' format

This commit is contained in:
Mark Stuart 2012-01-30 17:41:11 +13:00
parent f9d51ed549
commit 2a672af348

View file

@ -63,7 +63,7 @@ module Refinery
end
end
else
render :text => "<script>parent.window.location = '#{refinery_blog_admin_posts_url}';</script>"
render :text => "<script>parent.window.location = '#{main_app.refinery_blog_admin_posts_url}';</script>"
end
else
unless request.xhr?