Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

My Embedded App doesn't works in Rails 4.1 by Unai

$
0
0

Hello,

I have an embedded app in rails 3.2.18 that works fine. I have made a copy to update to rails 4.1 but the application doesn't works. The <iframe> tag shows nothing.

I have make an empty app with this code https://github.com/shopify/shopify_app (that works in rails 4.1) and then I have embedded the app with this changes:

  • Create common/iframe_redirect
  • In session_controller.rb: change def authenticate to works with iframe_redirect
  • Add link to app.js script and add the ShopifyApp.init script to the header of my layouts/application.html.erb

And the problem is the same, the <iframe> tag shows the <header> and <body> tags empty and rails doesn't shows errors.

I need help to continue developing, thank !!


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>