Class: FreeQuoteController
Instance Method Summary
collapse
caches_page_with_cache_marker, #raise_not_found!
Instance Method Details
#create ⇒ Object
11
12
13
14
15
16
|
# File 'app/controllers/free_quote_controller.rb', line 11
def create
@form = FreeQuoteForm.new(params[:free_quote])
@form.submit
respond_with(@form, location: free_quote_success_path)
end
|
#new ⇒ Object
9
|
# File 'app/controllers/free_quote_controller.rb', line 9
def new; end
|
#success ⇒ Object
18
|
# File 'app/controllers/free_quote_controller.rb', line 18
def success; end
|