about summary refs log tree commit diff
path: root/app/javascript/mastodon/common.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/mastodon/common.js')
-rw-r--r--app/javascript/mastodon/common.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/javascript/mastodon/common.js b/app/javascript/mastodon/common.js
new file mode 100644
index 000000000..2b10b8c30
--- /dev/null
+++ b/app/javascript/mastodon/common.js
@@ -0,0 +1,8 @@
+import Rails from 'rails-ujs';
+
+export function start() {
+  require('font-awesome/css/font-awesome.css');
+  require.context('../images/', true);
+
+  Rails.start();
+};