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 @@
- +