Sha256: 931fcc774e50e3fabcf895bd8a23f2cd84c0ccd4c4438d3210e42b0534c90df9
Contents?: true
Size: 456 Bytes
Versions: 6
Compression:
Stored size: 456 Bytes
Contents
class ApplicationController < ActionController::Base include Wobapphelpers::Breadcrumbs before_action :add_breadcrumb_index, only: [:index] self.responder = Wobapphelpers::Responders # Prevent CSRF attacks by raising an exception. # For APIs, you may want to use :null_session instead. protect_from_forgery with: :exception respond_to :html, :json helper_method :current_user def current_user @current_user = User.new end end
Version data entries
6 entries across 6 versions & 1 rubygems