X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=app%2Fviews%2Flayouts%2Fapplication.html.erb;h=58c8d8c929c6f66e964a1435265e933d048bfb1d;hb=HEAD;hp=ee2975d78194cae95b2509ff0fe4b1cd246f4f88;hpb=40e34b3d2aea86f7d1411b10dcda928d7115ad08;p=feedcatcher.git diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index ee2975d..58c8d8c 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,8 +1,17 @@ + - - Feedcatcher - - - <%= 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 %> + +