kissingcomputer/app/controllers/welcome_controller.rb

20 lines
287 B
Ruby
Raw Normal View History

2026-01-10 16:17:07 +00:00
class WelcomeController < ApplicationController
allow_unauthenticated_access(only: %i[index show])
def index
@latest_post = Post.order(created_at: :desc).first
end
def new
end
def edit
end
def destroy
end
def update
end
def show
end
def create
end
end