Sha256: 18915cae8f15c4c82c7ec3b9a24871b515b29cb0d19c8ac90e6a34501e5b2488
Contents?: true
Size: 449 Bytes
Versions: 16
Compression:
Stored size: 449 Bytes
Contents
module Workarea module Api module Storefront class TaxonsController < Api::Storefront::ApplicationController before_action :cache_page def show @taxon = Navigation::Taxon.find(params[:id]) unless @taxon.active? raise Mongoid::Errors::DocumentNotFound.new( Navigation::Taxon, id: params[:id] ) end end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems