mirror of
https://github.com/zammad/zammad
synced 2026-05-24 09:48:36 +00:00
32 lines
668 B
Ruby
32 lines
668 B
Ruby
# Copyright (C) 2012-2026 Zammad Foundation, https://zammad-foundation.org/
|
|
|
|
class PublicLinksController < ApplicationController
|
|
include CanPrioritize
|
|
|
|
prepend_before_action :authorize!, except: %i[show index]
|
|
prepend_before_action :authentication_check, except: %i[show index]
|
|
|
|
def index
|
|
model_index_render(PublicLink, params)
|
|
end
|
|
|
|
def show
|
|
model_show_render(PublicLink, params)
|
|
end
|
|
|
|
def create
|
|
model_create_render(PublicLink, params)
|
|
end
|
|
|
|
def update
|
|
model_update_render(PublicLink, params)
|
|
end
|
|
|
|
def search
|
|
model_search_render(PublicLink, params)
|
|
end
|
|
|
|
def destroy
|
|
model_destroy_render(PublicLink, params)
|
|
end
|
|
end
|