Class: SqedDepictionsController

Inherits:
ApplicationController show all
Includes:
DataControllerConfiguration::ProjectDataControllerConfiguration
Defined in:
app/controllers/sqed_depictions_controller.rb

Instance Method Summary collapse

Methods included from DataControllerConfiguration::ProjectDataControllerConfiguration

#annotator_params

Methods included from RequestType

#json_request?

Methods included from LogRecent

#log_user_recent_route

Methods included from Cookies

#digest_cookie, #digested_cookie_exists?

Methods included from Whitelist

#whitelist_constantize

Methods included from ProjectsHelper

#invalid_object, #project_link, #project_matches, #project_tag, #projects_list, #projects_search_form

Methods included from Api::Intercept

#intercept_api

Instance Method Details

#metadata_optionsObject



10
11
# File 'app/controllers/sqed_depictions_controller.rb', line 10

def  
end

#updateObject



4
5
6
7
8
# File 'app/controllers/sqed_depictions_controller.rb', line 4

def update
  @sqed_depiction = SqedDepiction.find(params[:id])
  @sqed_depiction.update(rebuild: true)
  redirect_to sqed_depiction_breakdown_task_path(@sqed_depiction), notice: 'Values recalculated.'
end