app/controllers/landable/api/access_tokens_controller.rb in landable-1.9.0.rc1 vs app/controllers/landable/api/access_tokens_controller.rb in landable-1.9.0.rc2
- old
+ new
@@ -34,15 +34,15 @@
end
private
- def find_own_access_token(id = params[:id])
- current_author.access_tokens.fresh.find(id)
- end
+ def find_own_access_token(id = params[:id])
+ current_author.access_tokens.fresh.find(id)
+ end
- def asset_token_params
- params.require(:access_token).permit(:username, :password)
- end
+ def asset_token_params
+ params.require(:access_token).permit(:username, :password)
+ end
end
end
end