• Sebastian Ziebell's avatar
    API: refactored last fix, project limit in web client is fixed too · 30258244
    Sebastian Ziebell authored
    The previous call `saved?` is restored in the `POST /projects` method in the API.
    It is refactored to check if the record is persisted. This is useful to not validate
    the record again after saving. This fixes the returned status code in the web client
    too. If the last project is created via web client instead of error notification
    the project page is shown.
    30258244
projects.rb 13.8 KB