1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00

Merge pull request #203 from eliotsykes/patch-1

Fix typo initialze -> initialize
This commit is contained in:
Jonas Nicklas 2014-09-02 22:14:39 +02:00
commit b0b3f2c728

View file

@ -431,7 +431,7 @@ create a special class which wraps up both user and IP and passes it to the poli
class UserContext class UserContext
attr_reader :user, :ip attr_reader :user, :ip
def initialze(user, ip) def initialize(user, ip)
@user = user @user = user
@ip = ip @ip = ip
end end