We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 574c70b commit f0a7716Copy full SHA for f0a7716
app/helpers/application_helper.rb
@@ -1,7 +1,21 @@
1
module ApplicationHelper
2
def us_states
3
[
4
- ['Massachusetts', 'MA'],
+ # Canadian provinces and territories
5
+ ['Ontario', 'ON'],
6
+ ['Quebec', 'QC'],
7
+ ['Alberta', 'AB'],
8
+ ['British Columbia', 'BC'],
9
+ ['Manitoba', 'MB'],
10
+ ['New Brunswick', 'NB'],
11
+ ['Newfoundland and Labrador', 'NL'],
12
+ ['Northwest Territories', 'NT'],
13
+ ['Nova Scotia', 'NS'],
14
+ ['Nunavut', 'NU'],
15
+ ['Prince Edward Island', 'PE'],
16
+ ['Saskatchewan', 'SK'],
17
+ ['Yukon', 'YT'],
18
+ # US states
19
['Alabama', 'AL'],
20
['Alaska', 'AK'],
21
['Arizona', 'AZ'],
0 commit comments