Class: Workarea::Api::Admin::RecommendationSettingsController
Instance Method Summary
collapse
#current_user, #sort_direction, #sort_field
Instance Method Details
#show ⇒ Object
105
106
107
|
# File 'app/controllers/workarea/api/admin/recommendation_settings_controller.rb', line 105
def show
respond_with recommendation_settings: @recommendation_settings
end
|
#update ⇒ Object
109
110
111
112
|
# File 'app/controllers/workarea/api/admin/recommendation_settings_controller.rb', line 109
def update
@recommendation_settings.update_attributes!(params[:recommendation_settings])
respond_with recommendation_settings: @recommendation_settings
end
|