aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/taxonomies_controller.rb
blob: f33595ae6bfa9ce3d2c7301763f892b8f1d3cd79 (plain)
1
2
3
4
5
6
7
8
9
10
11
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