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

Version Path
browsercms-3.3.4 app/controllers/cms/tags_controller.rb
browsercms-3.3.3 app/controllers/cms/tags_controller.rb
browsercms-3.1.5 app/controllers/cms/tags_controller.rb
browsercms-3.1.4 app/controllers/cms/tags_controller.rb
browsercms-3.3.2 app/controllers/cms/tags_controller.rb
browsercms-3.3.1 app/controllers/cms/tags_controller.rb
browsercms-3.3.0 app/controllers/cms/tags_controller.rb
browsercms-3.1.3 app/controllers/cms/tags_controller.rb
browsercms-3.3.0.beta app/controllers/cms/tags_controller.rb
bf4-browsercms-3.1.0 app/controllers/cms/tags_controller.rb
drujensen-browsercms-3.2.0 app/controllers/cms/tags_controller.rb
browsercmsi-3.1.2 app/controllers/cms/tags_controller.rb
browsercms-3.1.2 app/controllers/cms/tags_controller.rb
browsercms-3.1.1 app/controllers/cms/tags_controller.rb
browsercmsi-3.1.1 app/controllers/cms/tags_controller.rb
browsercmsi-3.1.0 app/controllers/cms/tags_controller.rb
browsercms-3.1.0 app/controllers/cms/tags_controller.rb
we5-browsercms-3.1.0 app/controllers/cms/tags_controller.rb
browsercms-3.0.6 app/controllers/cms/tags_controller.rb