Sha256: 5a60cc4c66d7c1b15dfe355658a49c19d6136340913884947d37cd069364e01d
Contents?: true
Size: 321 Bytes
Versions: 19
Compression:
Stored size: 321 Bytes
Contents
class Cms::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
Version data entries
19 entries across 19 versions & 5 rubygems