New widget for tag cloud

This commit is contained in:
chris authored and Matt K. Fu committed 2013-06-06 17:17:45 +08:00
1 parent 30824d1620
commit 253cca06cc
16 files changed
+122 -27

No files matched your search

+5
View File
@@ -38,6 +38,11 @@ class FrontController < ApplicationController
@ad_images = AdImage.all
end
def show_tag_cloud
module_app = ModuleApp.find(params[:id]) rescue nil
@tags = module_app.sorted_tags_for_cloud
end
private
def menu_level(page, current_page, current, menu)