Class: Crud::CrudBaseController
- Inherits:
-
Object
- Object
- Crud::CrudBaseController
show all
- Defined in:
- app/controllers/crud/crud_base_controller.rb
Overview
class CrudBaseController < ActionController::Base
Instance Method Summary
collapse
Instance Method Details
#is_allowed_to_update? ⇒ Boolean
15
16
17
|
# File 'app/controllers/crud/crud_base_controller.rb', line 15
def is_allowed_to_update?
::Crud.is_allowed_to_update
end
|
#is_allowed_to_view? ⇒ Boolean
11
12
13
|
# File 'app/controllers/crud/crud_base_controller.rb', line 11
def is_allowed_to_view?
::Crud.is_allowed_to_view
end
|