diff --git a/app/views/layouts/_flashes.html.erb b/app/views/layouts/_flashes.html.erb deleted file mode 100644 index b414325..0000000 --- a/app/views/layouts/_flashes.html.erb +++ /dev/null @@ -1,5 +0,0 @@ -
- <% flash.each do |key, value| -%> -
<%=h value %>
- <% end -%> -
diff --git a/app/views/layouts/_javascript.html.erb b/app/views/layouts/_javascript.html.erb deleted file mode 100644 index d359958..0000000 --- a/app/views/layouts/_javascript.html.erb +++ /dev/null @@ -1,2 +0,0 @@ -<%= javascript_include_tag :defaults, :cache => true %> -<%= yield :javascript %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index fd3c0ab..60480e3 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -7,8 +7,8 @@ <%= stylesheet_link_tag 'screen', :media => 'all', :cache => true %> - <%= render :partial => 'layouts/flashes' -%> + <%= render :partial => 'shared/flashes' -%> <%= yield %> - <%= render :partial => 'layouts/javascript' %> + <%= render :partial => 'shared/javascript' %> diff --git a/app/views/shared/_flashes.html.erb b/app/views/shared/_flashes.html.erb new file mode 100644 index 0000000..b414325 --- /dev/null +++ b/app/views/shared/_flashes.html.erb @@ -0,0 +1,5 @@ +
+ <% flash.each do |key, value| -%> +
<%=h value %>
+ <% end -%> +
diff --git a/app/views/shared/_javascript.html.erb b/app/views/shared/_javascript.html.erb new file mode 100644 index 0000000..d359958 --- /dev/null +++ b/app/views/shared/_javascript.html.erb @@ -0,0 +1,2 @@ +<%= javascript_include_tag :defaults, :cache => true %> +<%= yield :javascript %> -- libgit2 0.21.2