Sha256: 1a0198bb81156c243660f4984bc5472f0b36034bc1edf25d1cd904ff3fdd34e9
Contents?: true
Size: 297 Bytes
Versions: 30
Compression:
Stored size: 297 Bytes
Contents
class PostsController < ApplicationController helper_method :current_user impressionist def index end def show end def edit end def current_user if session[:user_id] user = User.new user.id = session[:user_id] @current_user ||= user end end end
Version data entries
30 entries across 30 versions & 3 rubygems