Sha256: df2894fcf8a4d299307a369f03906c350933d3baf90eab58b5226940444835ba
Contents?: true
Size: 213 Bytes
Versions: 25
Compression:
Stored size: 213 Bytes
Contents
class UserController < ApplicationController before_action :authenticate layout 'user' private def authenticate if not current_user redirect_to new_user_session_url end end end
Version data entries
25 entries across 25 versions & 1 rubygems