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

Version Path
browsercms-3.5.7 app/controllers/cms/tags_controller.rb
browsercms-3.5.6 app/controllers/cms/tags_controller.rb
browsercms-3.5.5 app/controllers/cms/tags_controller.rb
browsercms-3.5.4 app/controllers/cms/tags_controller.rb
browsercms-3.5.3 app/controllers/cms/tags_controller.rb
browsercms-3.5.2 app/controllers/cms/tags_controller.rb
browsercms-3.5.1 app/controllers/cms/tags_controller.rb
browsercms-3.5.0 app/controllers/cms/tags_controller.rb
browsercms-3.5.0.rc3 app/controllers/cms/tags_controller.rb
browsercms-3.5.0.rc2 app/controllers/cms/tags_controller.rb
browsercms-3.5.0.rc1 app/controllers/cms/tags_controller.rb
browsercms-3.4.2 app/controllers/cms/tags_controller.rb
browsercms-3.4.2.rc1 app/controllers/cms/tags_controller.rb
browsercms-3.4.1 app/controllers/cms/tags_controller.rb
browsercms-3.4.0 app/controllers/cms/tags_controller.rb
browsercms-3.4.0.rc2 app/controllers/cms/tags_controller.rb
browsercms-3.4.0.rc1 app/controllers/cms/tags_controller.rb