method

set_representation

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: BaseController
set_representation() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activestorage/app/controllers/active_storage/representations/base_controller.rb, line 13
    def set_representation
      @representation = @blob.representation(params[:variation_key]).processed
    rescue ActiveSupport::MessageVerifier::InvalidSignature
      head :not_found
    end
Register or log in to add new notes.