Sha256: da5b2ad9215329b4ce4dd6101a7ff53d3fff6b2f9a9e4cbda2ffd81c2ec7d026

Contents?: true

Size: 211 Bytes

Versions: 1

Compression:

Stored size: 211 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  helper :all

  helper_method :_user, :logged_in?

  def _user
    current_user
  end

  def logged_in?
    user_signed_in?
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
laces-0.1.0 templates/app/controllers/app_controller.rb