Skip to content
Snippets Groups Projects
Select Git revision
19 results Searching

cccv-archive-key.gpg

Blame
  • Forked from uffd / uffd
    Source project has a limited visibility.
    application_controller.rb 203 B
    class ApplicationController < ActionController::Base
      helper_method :current_user
    
      private
    
      def current_user
        @current_user ||= User.find_by(id: session[:user_id]) if session[:user_id]
      end
    end