diff options
Diffstat (limited to 'app/views/activities/index.html.erb')
-rw-r--r-- | app/views/activities/index.html.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/activities/index.html.erb b/app/views/activities/index.html.erb new file mode 100644 index 0000000..593adca --- /dev/null +++ b/app/views/activities/index.html.erb @@ -0,0 +1,8 @@ +<h1 class="text-3xl mb-4">Activities</h1> + +<% @activities.each do |activity| %> + <div class="my-2"> + <div><%= link_to activity.name, activity_path(activity) %></div> + <p class="italic"><%= activity.description %></p> + </div> +<% end %> |