metamaps--metamaps/app/models/star.rb
Connor Turland 19dabe81cc Enable users to star maps, and to see their starred collection (#615)
* enable starring

* users should be able to star others maps

* proper star icon

* starred maps display as starred without refreshing

* oops

* make phrasing clearer
2016-08-31 16:58:49 -04:00

4 lines
73 B
Ruby

class Star < ActiveRecord::Base
belongs_to :user
belongs_to :map
end