def admin_index
      return unless user_is_allowed('post_categories', 'view')
      
      @main_cat = PostCategory.where("site_id = ?", @site.id).first      
      if @main_cat.nil?
        @main_cat = PostCategory.create(:site_id => @site.id, :name => 'General News')
      end
      render :layout => 'caboose/admin'
    end
def admin_index
      return unless user_is_allowed('post_categories', 'view')
      
      @main_cat = PostCategory.where("site_id = ?", @site.id).first      
      if @main_cat.nil?
        @main_cat = PostCategory.create(:site_id => @site.id, :name => 'General News')
      end
      render :layout => 'caboose/admin'
    end
=============================================================================
 Admin actions
=============================================================================
 @route GET /admin/post-categories