mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 13:14:29 +08:00
fixed hound
This commit is contained in:
parent
bd49ea56c5
commit
8a925008f9
2 changed files with 2 additions and 4 deletions
|
@ -6,7 +6,8 @@ module Api
|
|||
type :results
|
||||
attributes :id, :name, :my_module_id, :user_id, :created_at, :updated_at,
|
||||
:archived, :archived_on, :last_modified_by_id, :archived_by_id,
|
||||
:restored_by_id, :restored_on, :result_text, :result_table, :result_asset
|
||||
:restored_by_id, :restored_on, :result_text, :result_table,
|
||||
:result_asset
|
||||
|
||||
belongs_to :my_module, serializer: MyModuleSerializer
|
||||
end
|
||||
|
|
|
@ -598,13 +598,10 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
end
|
||||
<<<<<<< HEAD
|
||||
resources :users, only: %i(show) do
|
||||
resources :user_identities,
|
||||
only: %i(index create show update destroy)
|
||||
end
|
||||
=======
|
||||
>>>>>>> Added results endpoint
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue