Added shortcuts

• Added:
- shortcuts functionality
- shortcuts route, controller, model
- shortcut error message for "exists"
- shortcut redux
- EditShortcutsModal, constant
- links to sidebar, sidebar_xs
- options to add/remove group, account in GroupOptionsPopover, ProfileOptionsPopover
- shortcuts page, feature/list
This commit is contained in:
mgabdev
2020-07-21 22:24:26 -05:00
parent 405ace09da
commit f92f75d747
20 changed files with 705 additions and 107 deletions

View File

@@ -0,0 +1,10 @@
# frozen_string_literal: true
class REST::ShortcutSerializer < ActiveModel::Serializer
attributes :id, :account_id, :created_at, :shortcut_type, :shortcut_id
def id
object.id.to_s
end
end