diff --git a/app/views/layouts/_head.html.haml b/app/views/layouts/_head.html.haml index b2f577ad7..e3058ad55 100644 --- a/app/views/layouts/_head.html.haml +++ b/app/views/layouts/_head.html.haml @@ -30,6 +30,6 @@ = csrf_meta_tags = stylesheet_link_tag "application", media: "all" - %link{ href: "/growstuff-apple-touch-icon-precomposed.png", rel: "apple-touch-icon-precomposed" } + %link{ href: path_to_image("growstuff-apple-touch-icon-precomposed.png"), rel: "apple-touch-icon-precomposed" } %link{ href: "https://fonts.googleapis.com/css?family=Modak|Raleway&display=swap", rel: "stylesheet" } = favicon_link_tag 'favicon.ico' diff --git a/swagger/v1/swagger.json b/swagger/v1/swagger.json index 5234402c0..11d215f1d 100644 --- a/swagger/v1/swagger.json +++ b/swagger/v1/swagger.json @@ -4,9 +4,9 @@ "title": "API V1", "version": "V1" }, - "basePath" : "", + "basePath" : "/api/v1", "paths": { - "/api/v1/crops": { + "/crops": { "get": { "summary": "crops List", "tags": [ @@ -313,7 +313,7 @@ } } }, - "/api/v1/crops/{id}": { + "/crops/{id}": { "get": { "summary": "crops Detail", "tags": [ @@ -561,7 +561,7 @@ } } }, - "/api/v1/gardens": { + "/gardens": { "get": { "summary": "gardens List", "tags": [ @@ -782,7 +782,7 @@ } } }, - "/api/v1/gardens/{id}": { + "/gardens/{id}": { "get": { "summary": "gardens Detail", "tags": [ @@ -951,7 +951,7 @@ } } }, - "/api/v1/members": { + "/members": { "get": { "summary": "members List", "tags": [ @@ -1245,7 +1245,7 @@ } } }, - "/api/v1/members/{id}": { + "/members/{id}": { "get": { "summary": "members Detail", "tags": [ @@ -1473,7 +1473,7 @@ } } }, - "/api/v1/harvests": { + "/harvests": { "get": { "summary": "harvests List", "tags": [ @@ -1746,7 +1746,7 @@ } } }, - "/api/v1/harvests/{id}": { + "/harvests/{id}": { "get": { "summary": "harvests Detail", "tags": [ @@ -1967,7 +1967,7 @@ } } }, - "/api/v1/seeds": { + "/seeds": { "get": { "summary": "seeds List", "tags": [ @@ -2201,7 +2201,7 @@ } } }, - "/api/v1/seeds/{id}": { + "/seeds/{id}": { "get": { "summary": "seeds Detail", "tags": [ @@ -2383,7 +2383,7 @@ } } }, - "/api/v1/plantings": { + "/plantings": { "get": { "summary": "plantings List", "tags": [ @@ -2708,7 +2708,7 @@ } } }, - "/api/v1/plantings/{id}": { + "/plantings/{id}": { "get": { "summary": "plantings Detail", "tags": [ @@ -2939,7 +2939,7 @@ } } }, - "/api/v1/photos": { + "/photos": { "get": { "summary": "photos List", "tags": [ @@ -3207,7 +3207,7 @@ } } }, - "/api/v1/photos/{id}": { + "/photos/{id}": { "get": { "summary": "photos Detail", "tags": [ @@ -3424,4 +3424,4 @@ } } } -} \ No newline at end of file +}