Skip to content

Commit

Permalink
Removed and updated additional files
Browse files Browse the repository at this point in the history
  • Loading branch information
maricavor committed Oct 13, 2022
1 parent 11c2af0 commit 04b5506
Show file tree
Hide file tree
Showing 29 changed files with 154 additions and 1,534 deletions.
227 changes: 0 additions & 227 deletions app/controllers/registrar/domains_controller.rb

This file was deleted.

2 changes: 1 addition & 1 deletion app/controllers/repp/v1/domains/renews_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def renew_params

def validate_renew_period
@epp_errors ||= ActiveModel::Errors.new(self)
periods = Depp::Domain::PERIODS.map { |p| p[1] }
periods = Domain::PERIODS.map { |p| p[1] }
return if periods.include? bulk_renew_params[:renew_period]

@epp_errors.add(:epp_errors, msg: 'Invalid renew period', code: '2005')
Expand Down
6 changes: 0 additions & 6 deletions app/helpers/registrar/application_helper.rb

This file was deleted.

3 changes: 0 additions & 3 deletions app/models/ability.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ def super # Registrar/api_user dynamic role

def epp # Registrar/api_user dynamic role
if @user.registrar.api_ip_white?(@ip)
can :manage, Depp::Contact
can :manage, :xml_console
can :manage, Depp::Domain
end

can :manage, Account
Expand Down Expand Up @@ -122,7 +120,6 @@ def static_registrant
customer_service
can :manage, :registrant_domains
can :manage, :registrant_whois
can :manage, Depp::Domain
can :manage, Domain
end

Expand Down
Empty file removed app/models/depp/concerns/.keep
Empty file.
Loading

0 comments on commit 04b5506

Please sign in to comment.