kissingcomputer/app/controllers/blogmap_controller.rb
2026-01-10 16:17:07 +00:00

20 lines
301 B
Ruby

class BlogmapController < ApplicationController
allow_unauthenticated_access(only: %i[index show])
before_action :authenticate_user!, only: [:new, :edit, :update, :create]
def index
@blogs = Blog.all
end
def new
end
def update
end
def edit
end
def create
end
def destroy
end
def show
end
end