cms_controller.rb 265 Bytes
class CmsController < ComatoseAdminController
  extend PermissionCheck
  
  define_option :page_class, Article
  protect [:edit, :new, :reorder, :delete], :post_content, :profile

  protected
  def profile
    Profile.find_by_identifier(params[:profile])
  end
end