Skip to content

Commit

Permalink
Load app Javascripts for styleguide example pages
Browse files Browse the repository at this point in the history
Also provide application.js for standalone reference app/tests.
  • Loading branch information
hartsick committed May 21, 2019
1 parent 9ca516b commit 235bcd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/cfa/styleguide/examples/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<%= stylesheet_link_tag 'cfa_styleguide_main', media: 'all' %>
<%= javascript_include_tag 'cfa_styleguide_main' %>
<%= stylesheet_link_tag 'application', media: 'all' %>
<%= javascript_include_tag 'application' %>
</head>
<body style="background-color: white">
<%= render @partial_path %>
Expand Down
1 change: 1 addition & 0 deletions spec/test_app/app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//= require cfa_styleguide_main

0 comments on commit 235bcd8

Please sign in to comment.