Skip to content

Firefly III: a personal finances manager

Push some stuff over get, not post.

James Cole72cf4c26f2b7
diff --git a/.sandstorm/sandstorm-pkgdef.capnp b/.sandstorm/sandstorm-pkgdef.capnp
index b0af954c87..09d0963a4c 100644
--- a/.sandstorm/sandstorm-pkgdef.capnp
+++ b/.sandstorm/sandstorm-pkgdef.capnp
@@ -16,7 +16,7 @@ const pkgdef :Spk.PackageDefinition = (
manifest = (
appTitle = (defaultText = "Firefly III"),
appVersion = 1,
- appMarketingVersion = (defaultText = "4.6.9"),
+ appMarketingVersion = (defaultText = "4.6.9.1"),
actions = [
# Define your "new document" handlers here.
diff --git a/public/js/ff/intro/intro.js b/public/js/ff/intro/intro.js
index f858419064..32313cac6a 100644
--- a/public/js/ff/intro/intro.js
+++ b/public/js/ff/intro/intro.js
@@ -30,5 +30,5 @@ function setupIntro(steps) {
}
function reportIntroFinished() {
- $.post(routeForFinishedTour);
+ $.getJSON(routeForFinishedTour);
}
\ No newline at end of file
diff --git a/routes/web.php b/routes/web.php
index 1b9c1c48bb..c07906fce1 100755
--- a/routes/web.php
+++ b/routes/web.php
@@ -462,9 +462,10 @@ Route::group(
Route::get('rate/{fromCurrencyCode}/{toCurrencyCode}/{date}', ['uses' => 'Json\ExchangeController@getRate', 'as' => 'rate']);
// intro things:
+ Route::any('intro/finished/{route}/{specificPage?}', ['uses' => 'Json\IntroController@postFinished', 'as' => 'intro.finished']);
+ Route::any('intro/enable/{route}/{specificPage?}', ['uses' => 'Json\IntroController@postEnable', 'as' => 'intro.enable']);
Route::get('intro/{route}/{specificPage?}', ['uses' => 'Json\IntroController@getIntroSteps', 'as' => 'intro']);
- Route::post('intro/finished/{route}/{specificPage?}', ['uses' => 'Json\IntroController@postFinished', 'as' => 'intro.finished']);
- Route::post('intro/enable/{route}/{specificPage?}', ['uses' => 'Json\IntroController@postEnable', 'as' => 'intro.enable']);
+
}
);