Bug fix. Previously, all categories were visible from all webs. Now category lists are restricted to the current web.

This commit is contained in:
Jason R. Blevins 2007-02-27 22:27:20 -05:00
parent f208d50032
commit b65a5b8e30
2 changed files with 7 additions and 3 deletions

View file

@ -356,7 +356,7 @@ class WikiController < ApplicationController
end
def parse_category
@categories = WikiReference.list_categories.sort
@categories = WikiReference.list_categories(@web).sort
@category = @params['category']
if @category
@set_name = "category '#{@category}'"