Module: ContactsHelper
- Defined in:
- app/helpers/contacts_helper.rb
Instance Method Summary collapse
Instance Method Details
#contact_form ⇒ Object
7 8 9 |
# File 'app/helpers/contacts_helper.rb', line 7 def contact_form render :partial => "fullstack/contacts/form" end |
#contact_success ⇒ Object
3 4 5 |
# File 'app/helpers/contacts_helper.rb', line 3 def contact_success render :partial => "fullstack/contacts/success" end |
#contacts_dashboard_widget ⇒ Object
11 12 13 14 |
# File 'app/helpers/contacts_helper.rb', line 11 def contacts = Contact.order("created_at DESC").limit(5) render :partial => "admin/contacts/contacts_dashboard_widget", :locals => { :contacts => contacts } end |