Skip to content

Commit

Permalink
update selectize options
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushC committed Apr 12, 2024
1 parent fb9e877 commit 4cf6fbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/school.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ def display_grade_level
end

def selectize_options
[name_location, to_json(only: [:id, :name, :city, :state, :website]) ]
[name_location, to_json(only: [:id, :name, :city, :state, :country, :website]) ]
end

def name_location
"#{name} (#{city}, #{state})"
"#{name} (#{city}, #{state}, #{country})"
end

def update_gps_data
Expand Down

0 comments on commit 4cf6fbc

Please sign in to comment.