Sha256: 943f4b4b9a4f2d87b0181273d0c89d81ac401c4e29228c4da452424a3673bda4
Contents?: true
Size: 274 Bytes
Versions: 22
Compression:
Stored size: 274 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 end
Version data entries
22 entries across 22 versions & 8 rubygems