member role edit

This commit is contained in:
unknown authored and chris committed 2013-01-14 19:00:08 +08:00
1 parent f589439870
commit 504f5027cc
16 files changed
+213 -213

No files matched your search

+2 -1
View File
@@ -40,9 +40,10 @@ class Admin::InfosController < ApplicationController
@attribute.update_attributes(params[:info])
@attribute.attribute_fields.each{|t| t.destroy if t["to_delete"] == true}
respond_to do |format|
format.html { redirect_to :action => :index }
format.html { redirect_to(edit_admin_info_path(params[:id])) }
format.js { render 'admin/attributes/toggle_enable' }
end
end
def destroy