Skip to content

Instantly share code, notes, and snippets.

@richardsondx
Created April 1, 2014 20:42
Show Gist options
  • Select an option

  • Save richardsondx/9922748 to your computer and use it in GitHub Desktop.

Select an option

Save richardsondx/9922748 to your computer and use it in GitHub Desktop.
apply https to active admin
scope :protocol => 'https://', :constraints => { :protocol => 'https://' } do
ActiveAdmin.routes(self)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment