Class: Integral::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Includes:
Pundit
Defined in:
app/controllers/integral/application_controller.rb

Overview

Base Frontend controller

Instance Method Summary collapse

Instance Method Details

#render(*args, &block) ⇒ Object

Override added as workaround for before_render Rails 5 incompatibility



16
17
18
19
# File 'app/controllers/integral/application_controller.rb', line 16

def render(*args, &block)
  before_render
  super
end