Skip to content

Commit

Permalink
Merge pull request #3724 from alphagov/remove-duplicate-licence-code
Browse files Browse the repository at this point in the history
Remove duplicate licence rendering code
  • Loading branch information
KludgeKML authored Aug 15, 2023
2 parents b6f5c48 + 7f2a934 commit 25e9f4f
Show file tree
Hide file tree
Showing 18 changed files with 15 additions and 2,154 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ Transaction start pages:

### Licence finders

* https://www.gov.uk/premises-licence
* https://www.gov.uk/temporary-events-notice
* https://www.gov.uk/apply-skip-permit
* https://www.gov.uk/street-collection-licence
* https://www.gov.uk/zoo-licence
* https://www.gov.uk/premises-licence-scotland
* https://www.gov.uk/house-to-house-collection-licence
* https://www.gov.uk/public-charitable-collection-permit-scotland
* https://www.gov.uk/late-hours-catering-licence-scotland
* https://www.gov.uk/food-business-registration
* https://www.gov.uk/cooling-tower-notification
* https://www.gov.uk/performing-animals-registration
* https://www.gov.uk/find-licences/premises-licence
* https://www.gov.uk/find-licences/temporary-events-notice
* https://www.gov.uk/find-licences/apply-skip-permit
* https://www.gov.uk/find-licences/street-collection-licence
* https://www.gov.uk/find-licences/zoo-licence
* https://www.gov.uk/find-licences/premises-licence-scotland
* https://www.gov.uk/find-licences/house-to-house-collection-licence
* https://www.gov.uk/find-licences/public-charitable-collection-permit-scotland
* https://www.gov.uk/find-licences/late-hours-catering-licence-scotland
* https://www.gov.uk/find-licences/food-business-registration
* https://www.gov.uk/find-licences/cooling-tower-notification
* https://www.gov.uk/find-licences/performing-animals-registration

### Calendars

Expand Down
10 changes: 0 additions & 10 deletions app/controllers/development_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ class DevelopmentController < ApplicationController
layout false

def index
@schema_names = %w[
calendar
homepage
local_transaction
place
simple_smart_answer
transaction
travel_advice
]

@paths = YAML.load_file(Rails.root.join("config/govuk_examples.yml"))
end
end
133 changes: 0 additions & 133 deletions app/controllers/licence_controller.rb

This file was deleted.

4 changes: 2 additions & 2 deletions app/controllers/licence_transaction_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ def find

@addresses = address_list
@options = options
@change_path = licence_path(slug: params[:slug])
@onward_path = licence_multiple_authorities_path(slug: params[:slug])
@change_path = licence_transaction_path(slug: params[:slug])
@onward_path = licence_transaction_multiple_authorities_path(slug: params[:slug])
render :multiple_authorities
end

Expand Down
15 changes: 0 additions & 15 deletions app/presenters/licence_presenter.rb

This file was deleted.

34 changes: 0 additions & 34 deletions app/views/licence/_action.html.erb

This file was deleted.

109 changes: 0 additions & 109 deletions app/views/licence/_authority_details.html.erb

This file was deleted.

3 changes: 0 additions & 3 deletions app/views/licence/_authority_url.html.erb

This file was deleted.

16 changes: 0 additions & 16 deletions app/views/licence/_licensify_unavailable.html.erb

This file was deleted.

14 changes: 0 additions & 14 deletions app/views/licence/authority.html.erb

This file was deleted.

Loading

0 comments on commit 25e9f4f

Please sign in to comment.