Skip to content

Commit

Permalink
Get rid of named param double reference in UserBookmarkList
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-brennan committed Apr 1, 2020
1 parent c07dd0d commit debed81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user_bookmark_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class UserBookmarkList
attr_reader :bookmarks
attr_accessor :more_bookmarks_url

def initialize(user: user, guardian: guardian, params: params)
def initialize(user:, guardian:, params:)
@user = user
@guardian = guardian
@params = params.merge(per_page: PER_PAGE)
Expand Down

0 comments on commit debed81

Please sign in to comment.