1 2 3 4 5
module My class BaseController < ApplicationController before_action :authenticate! end end