lib/parliament/utils/helpers/postcode_helper.rb in parliament-utils-0.7.3 vs lib/parliament/utils/helpers/postcode_helper.rb in parliament-utils-0.8.0

- old
+ new

@@ -1,14 +1,14 @@ require 'i18n' -require 'parliament/utils/helpers/translation_helper' unless defined?(::Rails) +require 'parliament/utils/helpers/translation_helper' # attr [String] previous_path the path to redirect back to in the case of an error. module Parliament module Utils module Helpers module PostcodeHelper - include Parliament::Utils::Helpers::TranslationHelper unless defined?(::Rails) + include Parliament::Utils::Helpers::TranslationHelper attr_accessor :previous_path # Makes requests to the postcode_lookup endpoint. # @param [String] raw_input the data inputted by the user.