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