Sha256: 2bd9de2325709cc0aa890735ae4306f1e47da8b58059d2f6cf07581414bdd5b9
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
module CortexReaver class AdminController < Ramaze::Controller map '/admin' layout '/text_layout' engine :Erubis helper :error, :auth, :form, :workflow def index end # Recalculate tag counts and vacuum unused tags def update_tags @updated = Tag.refresh_counts @deleted = [] Tag.unused.order(:title).all.each do |tag| @deleted << tag.destroy end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cortex-reaver-0.0.6 | lib/cortex_reaver/controller/admin.rb |
cortex-reaver-0.0.7 | lib/cortex_reaver/controller/admin.rb |