app/controllers/auth/profiles_controller.rb in wordjelly-auth-1.3.6 vs app/controllers/auth/profiles_controller.rb in wordjelly-auth-1.3.7

- old
+ new

@@ -46,17 +46,17 @@ ## this method needs the token authentication and an :id, hence the profile resource is updated. ## expected params hash: ##{:resource => "users", :user => {:admin,:request_send_reset_password_link}, :id} def update - puts "the profile resource is:" - puts @profile_resource.to_s + #puts "the profile resource is:" + #puts @profile_resource.to_s check_for_update(@profile_resource) - puts "going to assing attributes." - puts "resource params are: #{}" + #puts "going to assing attributes." + #puts "resource params are: #{}" @profile_resource.assign_attributes(@resource_params) @profile_resource.m_client = self.m_client @@ -150,10 +150,10 @@ ## it is a plural, downcase like "users" filters << [:resource,:api_key,:current_app_id,:id,:unset_proxy] params.permit(filters) end - ## if the user is not an admin, then + ## if i want to allow more things here then end ##@used_in : profiles_controller ##@param[String] resource name : it is expected to end with the model name, preceeded by a slash. eg: authenticate/user