blob: cfdfa22d65c237b673f2d7576aad47103d747f56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# SPDX-FileCopyrightText: 2021 IN COMMON Collective
#
# SPDX-License-Identifier: AGPL-3.0-or-later
class TaxonomiesController < ApplicationController
# GET /taxonomies
def index
@taxonomies = current_agent.taxonomies.order(:uuid).page params[:page]
end
# GET /taxonomies/:id
def show
@taxonomy = Taxonomy.find_by(uuid: params[:id])
end
end
|