mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
better add some tests here tomorrow
This commit is contained in:
@@ -7,7 +7,7 @@ class CategoriesController < ApplicationController
|
||||
skip_before_filter :check_xhr, only: [:index]
|
||||
|
||||
def index
|
||||
@list = CategoryList.new(current_user)
|
||||
@list = CategoryList.new(guardian)
|
||||
discourse_expires_in 1.minute
|
||||
respond_to do |format|
|
||||
format.html { render }
|
||||
|
||||
Reference in New Issue
Block a user