Create SVN and add all files to it, then commit. GET pg with selected values - add to session variable in existing function Check into laravel view composers https://scotch.io/tutorials/sharing-data-between-views-using-laravel-view-composers testing this {{isset($meter) ? route('meters.update', $meter->id) : route('meters.store')}}" method="post" name="createMeter" IMPORTANT FINDINGS https://stackoverflow.com/questions/56415869/the-get-method-is-not-supported-for-this-route-supported-methods-post It's most likely that you are trying to return a view from the store method in PostController. But you can't return a view from a post route. – k32y Jun 2 '19 at 14:24 Instead redirect to a get route after the form is processed, and return the view from that route. https://stackoverflow.com/questions/21600349/laravel-load-a-view-after-posting