Moved SPA inside Rails app