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

Version Path
impressionist-cody-2.0.0 spec/dummy/app/controllers/posts_controller.rb
impressionist-2.0.0 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.6.1 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.6.0 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.5.2 tests/test_app/app/controllers/posts_controller.rb
impressionist2-1.5.5 tests/test_app/app/controllers/posts_controller.rb
impressionist2-1.5.4 tests/test_app/app/controllers/posts_controller.rb
impressionist2-1.5.3 tests/test_app/app/controllers/posts_controller.rb
impressionist2-1.5.1 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.5.1 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.13 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.12 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.11 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.10 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.9 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.8 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.7 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.6 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.5 tests/test_app/app/controllers/posts_controller.rb
impressionist-1.4.4 tests/test_app/app/controllers/posts_controller.rb