X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Fapplication.html.erb;h=58c8d8c929c6f66e964a1435265e933d048bfb1d;hb=HEAD;hp=1599adb0cc371ff7dd1d8f0205811fa415c56999;hpb=542a16e225fc1d0418fe53b9736da7f1ef3b8394;p=feedcatcher.git diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 1599adb..58c8d8c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,12 +1,17 @@ + - - Feedcatcher - <%= stylesheet_link_tag "feedcatcher", :media => :all %> - - - <% if flash[:notice] -%> -
<%= flash[:notice] %>
- <% end -%> - <%= yield :layout %> - + + Feedcatcher + <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %> + <%= javascript_include_tag "application", "data-turbolinks-track" => true %> + <%= csrf_meta_tags %> + + + <% if flash[:notice] -%> +
<%= h flash[:notice] %>
+ <% end -%> + + <%= yield %> + +