Skip to content

Instantly share code, notes, and snippets.

@parndt
Created January 26, 2012 02:33
Show Gist options
  • Save parndt/1680598 to your computer and use it in GitHub Desktop.
Save parndt/1680598 to your computer and use it in GitHub Desktop.
def confirmation_message=(value)
value.first.keys.each do |locale|
Refinery::Setting.set("inquiry_confirmation_message_#{locale}".to_sym, {
:value => value.first[locale.to_sym],
:scoping => "inquiries"
})
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment