Sha256: ca9fe50772090e218f608e2e6b454fbe945570361ff00d67a8d145f13979e6b1
Contents?: true
Size: 336 Bytes
Versions: 17
Compression:
Stored size: 336 Bytes
Contents
module Cms class TagsController < Cms::ContentBlockController def index load_blocks respond_to do |format| format.html { render "#{template_directory}/index" } format.js { render :inline => "var tags = #{@blocks.map{|e| e.name}.to_json}" } end end def show redirect_to cms_tags_url end end end
Version data entries
17 entries across 17 versions & 1 rubygems