Sha256: 8a262fdd10f660b6000586e02330b3f8391494f4e2ecc389f19b83ad1b105bfa
Contents?: true
Size: 298 Bytes
Versions: 14
Compression:
Stored size: 298 Bytes
Contents
module ErpApp class ApplicationController < ActionController::Base protect_from_forgery protected def not_authenticated session[:return_to_url] = request.env['REQUEST_URI'] redirect_to '/erp_app/login', :notice => "Please login first." end end end
Version data entries
14 entries across 14 versions & 1 rubygems