class Admin::ResourceController
def edit_model_path
def edit_model_path method = "edit_admin_#{model_name.underscore}_path" send method.to_sym, params[:id] end
def edit_model_path method = "edit_admin_#{model_name.underscore}_path" send method.to_sym, params[:id] end