From 554e0bd9c86b2b5373465a221607540fa22116c8 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Jan 2026 16:29:27 +0000 Subject: [PATCH] more shit --- app/controllers/posts_controller.rb | 2 +- app/views/layouts/application.html.erb | 2 +- app/views/members/show.html.erb | 4 ++-- app/views/posts/index.html.erb | 3 ++- app/views/posts/show.html.erb | 28 ++++++++------------------ 5 files changed, 14 insertions(+), 25 deletions(-) diff --git a/app/controllers/posts_controller.rb b/app/controllers/posts_controller.rb index 93c877b..dfc97e1 100644 --- a/app/controllers/posts_controller.rb +++ b/app/controllers/posts_controller.rb @@ -7,7 +7,7 @@ class PostsController < ApplicationController before_action :set_post, only: [:show, :edit, :update, :destroy] def index - @posts = @blog.posts + @posts = Post.order(created_at: :desc) end def show diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 172cf5c..0c18633 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -31,7 +31,7 @@

-

An emoji of a computer with kiss marks. K I S S I N G C O M P U T E R

+

An emoji of a computer with kiss marks. K I S S I N G C O M P U T E R



diff --git a/app/views/members/show.html.erb b/app/views/members/show.html.erb index 971d9d9..d2609d2 100644 --- a/app/views/members/show.html.erb +++ b/app/views/members/show.html.erb @@ -58,12 +58,12 @@
- +