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