Sha256: d9d1b6c3b845a72f0275948c723ade618f886c0dff38cde0126ec2994b930b7d
Contents?: true
Size: 345 Bytes
Versions: 6
Compression:
Stored size: 345 Bytes
Contents
class Odania::TagsController < ApplicationController before_filter :valid_site! def index @odania_tags = current_site.tag_counts_on(:tags) end def show @tag = current_site.tags.where(name: params[:tag]).first return render_not_found if @tag.nil? @tag_xrefs = @tag.tag_xrefs return render_not_found if @tag_xrefs.empty? end end
Version data entries
6 entries across 6 versions & 1 rubygems