2023-08-20 11:49:21 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class HomePagesController < ApplicationController
|
2023-09-29 13:29:50 +00:00
|
|
|
skip_before_action :require_login
|
|
|
|
|
2024-03-07 09:14:06 +00:00
|
|
|
def index
|
|
|
|
@latest_blog_post = BlogPost.published.order(created_at: :desc).first
|
|
|
|
end
|
2023-08-20 11:49:21 +00:00
|
|
|
end
|