Sha256: f542e528b33192358fb15e675499eac161d696c2211ac3cc9b6a4d2bf920595f
Contents?: true
Size: 312 Bytes
Versions: 5
Compression:
Stored size: 312 Bytes
Contents
# frozen_string_literal: true class PagesController < ApplicationController before_action :require_logged_user, except: :log_in def index head :ok end def logged_area head :ok end def log_in user_session.record = User.first redirect_to return_to(pages_logged_area_path) end end
Version data entries
5 entries across 5 versions & 1 rubygems