This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { h, init } from 'snabbdom'; | |
import classModule from 'snabbdom/modules/class'; | |
import propsModule from 'snabbdom/modules/props'; | |
import styleModule from 'snabbdom/modules/style'; | |
import eventModule from 'snabbdom/modules/eventlisteners'; | |
// Init patch function with chosen modules | |
const patch = init([ | |
classModule, // makes it easy to toggle classes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.paperclip_defaults = { | |
:storage => :s3, | |
:url => ":s3_domain_url" | |
:s3_host_name => "s3.amazonaws.com", | |
:s3_credentials => { | |
:bucket => 'healthyhabitsutah', | |
:access_key_id => ENV['AWS_KEY'], | |
:secret_access_key => ENV['AWS_SECRET'] | |
} | |
} |