Skip to content

Commit

Permalink
Update development flow.
Browse files Browse the repository at this point in the history
Update govuk_examples.yml to include new path for Licence Finder.
Remove instance variable @schema_names as it was not being used anywhere in the application.
  • Loading branch information
kashifatcha committed Aug 15, 2023
1 parent bd3c921 commit 7f2a934
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
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
2 changes: 1 addition & 1 deletion config/govuk_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# https://content-data.publishing.service.gov.uk/
---
calendar: /bank-holidays
licence: /tv-licence
licence_transaction: /find-licences/tv-licence
local_transaction: /contact-electoral-registration-office
help_page: /help/browsers
homepage: /
Expand Down

0 comments on commit 7f2a934

Please sign in to comment.