Skip to content
Snippets Groups Projects
Commit 1a3d4fa7 authored by Monica Cellio's avatar Monica Cellio
Browse files

default order so edit page will work right

parent d35dbd41
No related branches found
No related tags found
No related merge requests found
class UserWebsite < ApplicationRecord
belongs_to :user
default_scope { order(:position) }
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment