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

Version Path
SFEley-browsercms-3.0.2 app/controllers/cms/tags_controller.rb
buzzware-browsercms-3.0.2 app/controllers/cms/tags_controller.rb
coredumplings-browsercms-3.0.0 app/controllers/cms/tags_controller.rb
nate-browsercms-3.0.210 app/controllers/cms/tags_controller.rb
nate-browsercms-3.0.211 app/controllers/cms/tags_controller.rb
we5-browsercms-3.0.1.1 app/controllers/cms/tags_controller.rb
webficient-browsercms-3.0.1 app/controllers/cms/tags_controller.rb
webficient-browsercms-3.0.2 app/controllers/cms/tags_controller.rb
webficient-browsercms-3.0.3 app/controllers/cms/tags_controller.rb
webficient-browsercms-3.0.4 app/controllers/cms/tags_controller.rb
browsercms-3.0.5 app/controllers/cms/tags_controller.rb
we5-browsercms-3.0.5.1 app/controllers/cms/tags_controller.rb
we5-browsercms-3.0.5 app/controllers/cms/tags_controller.rb
browsercms_s3-3.0.5 app/controllers/cms/tags_controller.rb
browsercms-3.0.4 app/controllers/cms/tags_controller.rb
browsercms-3.0.3 app/controllers/cms/tags_controller.rb
browsercms_s3-3.0.4 app/controllers/cms/tags_controller.rb
browsercms_s3-3.0.3 app/controllers/cms/tags_controller.rb
we5-browsercms-3.0.2 app/controllers/cms/tags_controller.rb
browsercms-3.0.2 app/controllers/cms/tags_controller.rb