mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 05:34:55 +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
|
type :results
|
||||||
attributes :id, :name, :my_module_id, :user_id, :created_at, :updated_at,
|
attributes :id, :name, :my_module_id, :user_id, :created_at, :updated_at,
|
||||||
:archived, :archived_on, :last_modified_by_id, :archived_by_id,
|
: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
|
belongs_to :my_module, serializer: MyModuleSerializer
|
||||||
end
|
end
|
||||||
|
|
|
@ -598,13 +598,10 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
<<<<<<< HEAD
|
|
||||||
resources :users, only: %i(show) do
|
resources :users, only: %i(show) do
|
||||||
resources :user_identities,
|
resources :user_identities,
|
||||||
only: %i(index create show update destroy)
|
only: %i(index create show update destroy)
|
||||||
end
|
end
|
||||||
=======
|
|
||||||
>>>>>>> Added results endpoint
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue