Sha256: 8d9b06b2001bee1db3818c920c8838f13523d7072009a2fc20e848e80b738921
Contents?: true
Size: 215 Bytes
Versions: 2
Compression:
Stored size: 215 Bytes
Contents
class Curupira::AuthorizedController < ApplicationController before_action :require_login private def not_authenticated redirect_to new_session_path, alert: "Por favor, se autentique primeiro" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curupira-0.1.7 | app/controllers/curupira/authorized_controller.rb |
curupira-0.1.6 | app/controllers/curupira/authorized_controller.rb |