Soc/app/controllers/home_pages_controller.rb

12 lines
232 B
Ruby
Raw Permalink Normal View History

2023-08-20 11:49:21 +00:00
# frozen_string_literal: true
class HomePagesController < ApplicationController
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
2024-03-08 14:52:10 +00:00
def uses ; end
2023-08-20 11:49:21 +00:00
end