app/views/layouts/pg_bouncer_hero/application.html.erb in pgbouncerhero-1.0.3 vs app/views/layouts/pg_bouncer_hero/application.html.erb in pgbouncerhero-2.0.0

- old
+ new

@@ -5,11 +5,12 @@ <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/> <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0" name="viewport"/> <title> <%= [@groups.size > 1 ? "#{@database.group.name} | #{@database.name}" : "PgBouncerHero", @title].compact.join(" / ") %> </title> - <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': true %> + <%= stylesheet_link_tag 'pgbouncerhero/application', media: 'all', 'data-turbolinks-track': true %> + <%= javascript_include_tag "pgbouncerhero/application" %> <%= csrf_meta_tags %> </head> <body> <div class="ui fixed menu"> <div class="ui container"> @@ -21,10 +22,9 @@ <div class="row" id="flash"> <%= render partial: 'shared/flash_messages', flash: flash %> </div> <%= yield %> </div> - <%= javascript_include_tag 'application' %> <% if content_for? :inline_script %> <%= yield :inline_script %> <% end %> </div> </body>