app/controllers/admin/cms_controller.rb
def stats

    # extract the content
    extract_content
    generate_titles

  rescue ActiveRecord::RecordNotFound

    not_found and return

  end
# Shows stats for a given item of content.
#
# === Expected Parameters
#
# [id]  the ID of the content to display.
Shows stats for a given item of content.
Expected Parameters

[id]  the ID of the content to display.
Shows stats for a given item of content . Expected Parameters [ id ] the ID of the content to display .
def stats
    extract_content
    generate_titles
  rescue ActiveRecord::RecordNotFound
    not_found and return
  end
def stats extract_content generate_titles rescue ActiveRecord :: RecordNotFound not_found and return end
Shows stats for a given item of content.
Shows stats for a given item of content .
# extract the content