Sha256: a1a59c510e3df89bdb23c2d4723ec944abde78816c6ff8a8bef5acac191ed61b

Contents?: true

Size: 184 Bytes

Versions: 2

Compression:

Stored size: 184 Bytes

Contents

class ApplicationController < ActionController::Base
  protect_from_forgery
  before_filter :set_current_user

private
  def set_current_user
    User.current = current_user
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playmo-0.0.6 lib/generators/playmo/templates/application_controller.rb
playmo-0.0.5 lib/generators/playmo/templates/application_controller.rb