Ruby on Rails & Heroku で作った静的ページが facebook canvas で表示できない
facebook canvas Ruby on Rails & Heroku
404script
routes.rb
post "canvas_test" => "pootalo#canvas_test"
layouts/canvas_test.html.erb
<!DOCTYPE html>
<html>
<head>
<title>test</title>
</head>
<body>
<style type="text/css">
<!--
body {
background-color: green;
}
-->
</style>
canvas test 2
</body>
</html>
view canvas_test.html.erb
def canvas_test
render :layout => 'canvas_test'
end
application_controller.rb
protect_from_forgery with: :exception
https
xcX3v84RxoQ-4GxG32940ukFUIEgYdPy
f1e884fe4acd3f680d0576d4e7b2ed89