member role edit
This commit is contained in:
1 parent
f589439870
commit
504f5027cc
16 files changed
+213
-213
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user