Sha256: 2fd158beace7b177e9c73982484c23955f5067cb9fd8cbffbd74b145a37fbf2d

Contents?: true

Size: 140 Bytes

Versions: 4

Compression:

Stored size: 140 Bytes

Contents

class MyProtectedPagesController < ApplicationController
  before_filter :authenticate_user!

  def show
    @user = current_user
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
current_user-0.2.1 test/dummy/app/controllers/my_protected_pages_controller.rb
current_user-0.2.0 test/dummy/app/controllers/my_protected_pages_controller.rb
current_user-0.1.0 test/dummy/app/controllers/my_protected_pages_controller.rb
current_user-0.0.1 test/dummy/app/controllers/my_protected_pages_controller.rb