al13ntown/app/controllers/updates_controller.rb

6 lines
192 B
Ruby
Raw Permalink Normal View History

2026-08-24 20:12:41 +00:00
class UpdatesController < ApplicationController
before_action :authenticate_user!, only: [:new, :create, :edit, :update, :destroy]
allow_unauthenticated_access(only: [:index, :show])
end