Get rid of named param double reference in UserBookmarkList

This commit is contained in:
Martin Brennan 2020-04-01 15:04:04 +10:00
parent c07dd0d22a
commit debed81022
1 changed files with 1 additions and 1 deletions

View File

@ -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)