Sha256: 193094c8a623a3e51cd63e4e03740f4f363b1b25af278bf82878f003b6f2b943

Contents?: true

Size: 175 Bytes

Versions: 9

Compression:

Stored size: 175 Bytes

Contents

class ApplicationController < ActionController::Base
  # fake current_user method, returns instance of user model
  def current_user
    User.find(session[:user_id])
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
s3_multipart-0.0.10.6 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.10.5 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.10.4 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.10.3 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.10.2 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.9 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.8 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.7 spec/internal/app/controllers/application_controller.rb
s3_multipart-0.0.6 spec/internal/app/controllers/application_controller.rb