Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Move application JavaScript files
  • Loading branch information
calleluks committed Feb 3, 2019
1 parent fb1e73e commit 1a4e049
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/assets/javascripts/greeting.js

This file was deleted.

3 changes: 3 additions & 0 deletions app/javascript/greeting.js
@@ -0,0 +1,3 @@
$(function() {
$('h1').text('Hello from Webpacker!')
})
1 change: 1 addition & 0 deletions app/javascript/packs/application.js
Expand Up @@ -11,3 +11,4 @@ require("@rails/ujs").start()
require("turbolinks").start()
require("@rails/activestorage").start()
require("channels")
require('greeting')

0 comments on commit 1a4e049

Please sign in to comment.