josiasmontag / laravel-localization

Laravel Localization Package
MIT License
21 stars 5 forks source link

How we use form post method #7

Closed officialmmt closed 4 years ago

officialmmt commented 4 years ago

Hi, I am trouble with post methods with other languages. It give all the time 'The GET method is not supported for this route. Supported methods: POST.'. I tried inside and outside localizedRoutesGroup route group result is the same. What I have to do for fix?

josiasmontag commented 4 years ago

How does your routes file look like? I don't think the issue is related to this package.

officialmmt commented 4 years ago

Localization::localizedRoutesGroup(function() { Route::get('/', 'ServiceController@getindex')->name('index'); Route::post('postmain', 'ServiceController@postindex')->name('postindex'); }); It is like usually. I am using Laravel 7.19.1

josiasmontag commented 4 years ago

I cannot reproduce this, I'm thinking there is something wrong in your app that is not related to this package.

officialmmt commented 4 years ago

What kind of I just have a form with laravelcollective may it have affected that.