Class: Crud::CrudBaseController

Inherits:
Object
  • Object
show all
Defined in:
app/controllers/crud/crud_base_controller.rb

Overview

class CrudBaseController < ActionController::Base

Direct Known Subclasses

CrudController, DashboardController

Instance Method Summary collapse

Instance Method Details

#is_allowed_to_update?Boolean

Returns:

  • (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

Returns:

  • (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