Bug fix. Previously, all categories were visible from all webs. Now category lists are restricted to the current web.
This commit is contained in:
parent
f208d50032
commit
b65a5b8e30
2 changed files with 7 additions and 3 deletions
|
@ -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}'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue