- <%= render '/_tile.*', article: sorted_articles[0] %>
+ <%= render '/partials/_tile.*', article: sorted_articles[0] %>
<% sorted_articles[1..-1].each do |article| %>
- <%= render '/_tile.*', article: article %>
+ <%= render '/partials/_tile.*', article: article %>
<% end %>
diff --git a/layouts/default.erb b/layouts/default.erb
index 4a61b7c..f41833a 100644
--- a/layouts/default.erb
+++ b/layouts/default.erb
@@ -10,9 +10,9 @@
diff --git a/layouts/eventpost.erb b/layouts/eventpost.erb
index 9891c45..f43e7db 100644
--- a/layouts/eventpost.erb
+++ b/layouts/eventpost.erb
@@ -8,8 +8,10 @@
-
<%= item[:title] %>
- <%= render '/_navbar.*' %>
+
+ <%= item[:title] %>
+
+ <%= render '/partials/_navbar.*' %>
@@ -30,4 +32,4 @@
-
+
diff --git a/layouts/_navbar.erb b/layouts/partials/_navbar.erb
similarity index 100%
rename from layouts/_navbar.erb
rename to layouts/partials/_navbar.erb
diff --git a/layouts/_tile.erb b/layouts/partials/_tile.erb
similarity index 100%
rename from layouts/_tile.erb
rename to layouts/partials/_tile.erb