This website requires JavaScript.
Explore
Help
Sign in
glenux-contrib
/
metamaps--metamaps
Watch
1
Star
0
Fork
You've already forked metamaps--metamaps
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
7635498f14
metamaps--metamaps
/
app
/
models
/
star.rb
6 lines
103 B
Ruby
Raw
Normal View
History
Unescape
Escape
automatic rubocop updates
2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
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 20:58:49 +00:00
class
Star
<
ActiveRecord
::
Base
belongs_to
:user
belongs_to
:map
end
Reference in a new issue
Copy permalink