Initial commit
This commit is contained in:
11
app/controllers/api/material_releases_controller.rb
Normal file
11
app/controllers/api/material_releases_controller.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class Api::MaterialReleasesController < Api::ReleasesController
|
||||
deserializable_resource :material_release, only: [:create, :update]
|
||||
|
||||
def model_name
|
||||
"material_release"
|
||||
end
|
||||
|
||||
def attributes_for_index
|
||||
[:name]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user