Fix rubocop array issue

This commit is contained in:
Maciej Szlosarczyk 2018-06-15 14:45:30 +03:00
parent ea3f3ac43a
commit c3c1619238
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765

View file

@ -1,6 +1,6 @@
class Registrant::DomainUpdateConfirmsController < RegistrantController
skip_before_action :authenticate_user!, only: [:show, :update]
skip_authorization_check only: [:show, :update]
skip_before_action :authenticate_user!, only: %i[show update]
skip_authorization_check only: %i[show update]
def show
return if params[:confirmed] || params[:rejected]