]> cat aescling's git repositories - mastodon.git/commit
Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)
authornullkal <nullkal@nil.nu>
Fri, 25 Aug 2017 16:50:52 +0000 (01:50 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Fri, 25 Aug 2017 16:50:52 +0000 (18:50 +0200)
commitc2af1381130caae0acc02db853580a2bdab61078
tree5129ff07cb41f5a132b5e7da56f7686f9c2c0776
parentfb8aa2b3bac122f819b07c7f9461b26cc369c621
Allow multiple pinned statuses to be shown and make them be ordered b… (#4690)

* Allow multiple pinned statuses to be shown and make them be ordered by pinned date

* Set timestamps NOT NULL

* Make single-line pinned_statuses

* Spec for pinned_statuses

* Remove redundant empty line
app/controllers/accounts_controller.rb
app/models/account.rb
app/models/status_pin.rb
db/migrate/20170824103029_add_timestamps_to_status_pins.rb [new file with mode: 0644]
db/schema.rb
spec/controllers/accounts_controller_spec.rb