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:
commit
b0b3f2c728
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ create a special class which wraps up both user and IP and passes it to the poli
|
|||
class UserContext
|
||||
attr_reader :user, :ip
|
||||
|
||||
def initialze(user, ip)
|
||||
def initialize(user, ip)
|
||||
@user = user
|
||||
@ip = ip
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue