Skip to content

Selectively skipping code during assets:precompile #19

Answered by rubys
steveclarke asked this question in Q&A
Discussion options

You must be logged in to vote

Perhaps try:

if Rails.application.credentials.shrine_secret_key
  Shrine.plugin :derivation_endpoint, secret_key: Rails.application.credentials.shrine_secret_key
end

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@steveclarke
Comment options

Answer selected by steveclarke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants