リビジョン 219f8764
| app/controllers/glossary_categories_controller.rb | ||
|---|---|---|
|
class GlossaryCategoriesController < ApplicationController
|
||
|
|
||
|
before_action :authorize
|
||
|
before_action :find_category_from_id, only: [:show, :edit, :update, :destroy]
|
||
|
before_action :find_project_from_id
|
||
|
|
||
| app/controllers/glossary_terms_controller.rb | ||
|---|---|---|
|
class GlossaryTermsController < ApplicationController
|
||
|
|
||
|
before_action :authorize
|
||
|
before_action :find_term_from_id, only: [:show, :edit, :update, :destroy]
|
||
|
before_action :find_project_from_id
|
||
|
|
||
[phase-8]add authorize in controller