Sha256: 7535fbd990a9aa5d49cc8ca15aa0fcedf008e4f74c012834e2df7a9933a17108
Contents?: true
Size: 436 Bytes
Versions: 28
Compression:
Stored size: 436 Bytes
Contents
class Admin::InquirySettingsController < Admin::BaseController crudify :inquiry_setting, :title_attribute => "name", :order => 'name ASC' def update @inquiry_setting.update_attributes(params[:inquiry_setting]) if @inquiry_setting.valid? flash[:notice] = "'#{@inquiry_setting.name}' was successfully updated." redirect_to admin_inquiries_url else render :action => 'edit' end end end
Version data entries
28 entries across 28 versions & 1 rubygems