リビジョン 100ef152
| app/controllers/glossary_categories_controller.rb | ||
|---|---|---|
|
before_action :find_project_from_id
|
||
|
|
||
|
def index
|
||
|
@categories = GlossaryCategory.where(project_id: @project_id)
|
||
|
@categories = GlossaryCategory.where(project_id: @project.id)
|
||
|
end
|
||
|
|
||
|
def show
|
||
[bugfix]modified using wrong project in index action