Commit ffc5ab70 by nnnghia98

edit scope in city.rb

parent 3559d8ab
...@@ -15,5 +15,5 @@ ...@@ -15,5 +15,5 @@
class City < ApplicationRecord class City < ApplicationRecord
scope :vn_cities, -> {where region: "Việt Nam"} scope :vn_cities, -> {where region: "Việt Nam"}
scope :inter_cities, -> {where region: "International"} scope :inter_cities, -> {where region: "#"}
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment