Class: Odania::InfoController

Inherits:
ApplicationController show all
Defined in:
app/controllers/odania/info_controller.rb

Instance Method Summary collapse

Instance Method Details

#contactObject



11
12
13
# File 'app/controllers/odania/info_controller.rb', line 11

def contact
	set_post_name
end

#contact_sendObject



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
	cookies[:contact_post_name] = nil
end

#imprintObject



5
6
# File 'app/controllers/odania/info_controller.rb', line 5

def imprint
end

#terms_and_conditionsObject



8
9
# File 'app/controllers/odania/info_controller.rb', line 8

def terms_and_conditions
end