Sha256: 8b72e35308a3a59cf28e58d2b540f26838867fa065bf511d4e5e95d84500bac5
Contents?: true
Size: 552 Bytes
Versions: 1
Compression:
Stored size: 552 Bytes
Contents
module Refinery module Contacts module Admin class ContactsController < ::Refinery::AdminController include ContactsHelper helper :"refinery/contacts/admin/contacts" crudify :'refinery/contacts/contact', :xhr_paging => true protected def contact_params params.require(:contact).permit(:title, :street, :city, :zip_code, :homepage, :company, :province, :country, :tel1, :tel2, :tel3, :fax, :position, :mails_attributes => [:id, :mail, :_destroy ]) end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-contacts-0.2.0 | app/controllers/refinery/contacts/admin/contacts_controller.rb |