Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save erotte/113600 to your computer and use it in GitHub Desktop.
Save erotte/113600 to your computer and use it in GitHub Desktop.
ActionController::Base.asset_host = Proc.new { |source|
source.starts_with?('/images') ? "liveorproductionapp.tld" : nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment