jhthorsen / mojolicious-plugin-webpack

Integrate your mojo app with webpack
13 stars 7 forks source link

fix Routes::Route::route deprecation for Mojolicious 8.67+ #8

Closed dmanto closed 3 years ago

dmanto commented 3 years ago

Starting on Mojolicious 8.67, Mojolicious::Routes::Route::route is deprecated in favor of Mojolicious::Routes::Route::any. This PR is to use new recommended way (any instead of route, methods instead of via).

Also adds .gitattributes file to help github detect Perl language (instead of marking files as Raku's)

jhthorsen commented 3 years ago

The actual issue mentioned in this PR is now fixed in master. Please make smaller PRs for the other changes.