[bugfix]modified using wrong project in index action
This commit is contained in:
parent
bcc8039d54
commit
100ef15246
@ -4,7 +4,7 @@ class GlossaryCategoriesController < ApplicationController
|
|||||||
before_action :find_project_from_id
|
before_action :find_project_from_id
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@categories = GlossaryCategory.where(project_id: @project_id)
|
@categories = GlossaryCategory.where(project_id: @project.id)
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
Loading…
Reference in New Issue
Block a user