Class: Msip::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Msip::ApplicationController
- Defined in:
- app/controllers/msip/application_controller.rb
Overview
Controlador base para la aplicación Msip. Incluye funcionalidades comunes como manejo de parámetros, autenticación y autorización con Devise y CanCanCan.
Direct Known Subclasses
AnexosController, EtiquetasPersonaController, GruposperController, HogarController, ModelosController, OrgsocialPersonasController, PersonaTrelacionesController, Respaldo7zController, UbicacionesController
Instance Method Summary collapse
-
#current_ability ⇒ Object
Aplicación final debe hacer algo como: protect_from_forgery with: :exception.
Instance Method Details
#current_ability ⇒ Object
Aplicación final debe hacer algo como: protect_from_forgery with: :exception
22 23 24 |
# File 'app/controllers/msip/application_controller.rb', line 22 def current_ability @current_ability ||= ::Ability.new(current_usuario) end |