Skip to content

Instantly share code, notes, and snippets.

@railsdog
Created August 5, 2010 22:01
Show Gist options
  • Save railsdog/510461 to your computer and use it in GitHub Desktop.
Save railsdog/510461 to your computer and use it in GitHub Desktop.
module SpreeSite
class Engine < Rails::Engine
def activate
# Add your custom site logic here
end
config.to_prepare &method(:activate).to_proc
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment