Class: Odania::InfoController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Odania::InfoController
- Defined in:
- app/controllers/odania/info_controller.rb
Instance Method Summary collapse
Instance Method Details
#contact ⇒ Object
11 12 13 |
# File 'app/controllers/odania/info_controller.rb', line 11 def contact set_post_name end |
#contact_send ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'app/controllers/odania/info_controller.rb', line 15 def contact_send set_post_name return redirect_to :action => 'index' if params[@contact_post_name].nil? # Send Mail Odania::Notify.contact_form(current_site, params[@contact_post_name]).deliver! # Remove cookie [:contact_post_name] = nil end |
#imprint ⇒ Object
5 6 |
# File 'app/controllers/odania/info_controller.rb', line 5 def imprint end |
#terms_and_conditions ⇒ Object
8 9 |
# File 'app/controllers/odania/info_controller.rb', line 8 def terms_and_conditions end |