ish_manager 0.1.8.197 → 0.1.8.198
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4286ddbb71d9b6a3bdb03ed45eab94d2b28e24f3548d0fea575693d94f9c9385
|
4
|
+
data.tar.gz: 1118004be8cf3416b97a3d587b216334d56219f97d837935f6354b78117e4eed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d94a9edcc16340a7650f04acf778077a2e91629b6f1bd5d22930d357e6b01a408cf7d30c50866f7dbac0b9b8085033c8123db5f845f95a24b3003d5be46b9021
|
7
|
+
data.tar.gz: b74a97b44e268422b0943c217c76f59523b91e90691807470aa7e73247b23ad9852f5284bc6bdc6664794a841659f03dd99c34c97fb49796a4b8a5241279fa89
|
@@ -27,7 +27,7 @@ class IshManager::MapsController < IshManager::ApplicationController
|
|
27
27
|
|
28
28
|
respond_to do |format|
|
29
29
|
if @map.save
|
30
|
-
format.html { redirect_to map_path(@map
|
30
|
+
format.html { redirect_to map_path(@map), notice: 'Map was successfully created.' }
|
31
31
|
else
|
32
32
|
format.html { render :new }
|
33
33
|
end
|
@@ -38,7 +38,7 @@ class IshManager::MapsController < IshManager::ApplicationController
|
|
38
38
|
authorize! :update, @map
|
39
39
|
respond_to do |format|
|
40
40
|
if @map.update(map_params)
|
41
|
-
format.html { redirect_to @map, notice: 'Map was successfully updated.' }
|
41
|
+
format.html { redirect_to map_path(@map), notice: 'Map was successfully updated.' }
|
42
42
|
else
|
43
43
|
format.html { render :edit }
|
44
44
|
end
|
@@ -27,7 +27,7 @@ class IshManager::MarkersController < IshManager::ApplicationController
|
|
27
27
|
|
28
28
|
respond_to do |format|
|
29
29
|
if @marker.save
|
30
|
-
format.html { redirect_to
|
30
|
+
format.html { redirect_to map_path(@map), notice: 'Marker was successfully created.' }
|
31
31
|
else
|
32
32
|
format.html { render :new }
|
33
33
|
end
|
@@ -38,7 +38,7 @@ class IshManager::MarkersController < IshManager::ApplicationController
|
|
38
38
|
authorize! :update_marker, @map
|
39
39
|
respond_to do |format|
|
40
40
|
if @marker.update(marker_params)
|
41
|
-
format.html { redirect_to @map, notice: 'Marker was successfully updated.' }
|
41
|
+
format.html { redirect_to maps_path(@map), notice: 'Marker was successfully updated.' }
|
42
42
|
else
|
43
43
|
format.html { render :edit }
|
44
44
|
end
|
@@ -51,7 +51,7 @@ class IshManager::MarkersController < IshManager::ApplicationController
|
|
51
51
|
authorize! :destroy_marker, @map
|
52
52
|
@marker.destroy
|
53
53
|
respond_to do |format|
|
54
|
-
format.html { redirect_to @map, notice: 'Marker was successfully destroyed.' }
|
54
|
+
format.html { redirect_to map_path(@map), notice: 'Marker was successfully destroyed.' }
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
@@ -13,8 +13,8 @@
|
|
13
13
|
.item
|
14
14
|
.flat-row
|
15
15
|
.a= marker.slug
|
16
|
-
.a= button_to '~',
|
17
|
-
.a= button_to 'x', marker, method: :delete, data: { confirm: 'Are you sure?' }
|
16
|
+
.a= button_to '~', edit_marker_path(marker), method: :get
|
17
|
+
.a= button_to 'x', marker_path(marker), method: :delete, data: { confirm: 'Are you sure?' }
|
18
18
|
.a= link_to '[api]', api_marker_path(marker)
|
19
19
|
%ul.bullets
|
20
20
|
%li <b>item_type:</b> #{marker.item_type}
|