Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Move root.html.erb to index.html.erb (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfrz authored and RobAWilkinson committed Oct 11, 2018
1 parent eb1c0d2 commit c1b8c85
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions app/javascript/packs/application.js
@@ -1,8 +1,3 @@
// Support component names relative to this directory:
// Run this example by adding <%= javascript_pack_tag 'hello_react' %> to the head of your layout file,
// like app/views/layouts/application.html.erb. All it does is render <div>Hello React</div> at the bottom
// of the page.

import "../css/application.css";

import React from "react";
Expand Down
2 changes: 2 additions & 0 deletions app/views/pages/index.html.erb
@@ -0,0 +1,2 @@
<div id="root">
</div>
2 changes: 0 additions & 2 deletions app/views/pages/root.html.erb

This file was deleted.

0 comments on commit c1b8c85

Please sign in to comment.