geopolitical 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/geopolitical/cities_controller.rb +2 -2
- data/app/controllers/geopolitical/hoods_controller.rb +2 -2
- data/app/controllers/geopolitical/nations_controller.rb +2 -2
- data/app/controllers/geopolitical/regions_controller.rb +2 -2
- data/lib/geopolitical/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c83de7fa358edf3032e002afa160eb629022a374f589f89a4e1c061d4113586
|
|
4
|
+
data.tar.gz: e262aefcfd984280b32c4aeddea8f64fd600fd130a303f10dc7631dbaddfb167
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15b0754ffb716100a94ef4f539e605de42a543e17144c0a200187468fb9bce6855b4be25f0b62789ae0b3a291543ee190bf67f015d9d5ee94fdc45d77e3b0951
|
|
7
|
+
data.tar.gz: ed2410dfb3547275426197641976c1c1b9a7a0c54e687465e4ea3bc79fd9f5692b6ce68aefa8ac83024b61b838833aa70f76ff0b351cce6eb962e79eb950089e
|
|
@@ -22,7 +22,7 @@ module Geopolitical
|
|
|
22
22
|
if @city.save
|
|
23
23
|
redirect_to city_path(@city), notice: t('geopolitical.flash.created', model: City.model_name.human)
|
|
24
24
|
else
|
|
25
|
-
render :new, status: :
|
|
25
|
+
render :new, status: :unprocessable_content
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ module Geopolitical
|
|
|
30
30
|
if @city.update(city_params)
|
|
31
31
|
redirect_to city_path(@city), notice: t('geopolitical.flash.updated', model: City.model_name.human)
|
|
32
32
|
else
|
|
33
|
-
render :edit, status: :
|
|
33
|
+
render :edit, status: :unprocessable_content
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
@@ -22,7 +22,7 @@ module Geopolitical
|
|
|
22
22
|
if @hood.save
|
|
23
23
|
redirect_to hood_path(@hood), notice: t('geopolitical.flash.created', model: Hood.model_name.human)
|
|
24
24
|
else
|
|
25
|
-
render :new, status: :
|
|
25
|
+
render :new, status: :unprocessable_content
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ module Geopolitical
|
|
|
30
30
|
if @hood.update(hood_params)
|
|
31
31
|
redirect_to hood_path(@hood), notice: t('geopolitical.flash.updated', model: Hood.model_name.human)
|
|
32
32
|
else
|
|
33
|
-
render :edit, status: :
|
|
33
|
+
render :edit, status: :unprocessable_content
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
|
@@ -21,7 +21,7 @@ module Geopolitical
|
|
|
21
21
|
if @nation.save
|
|
22
22
|
redirect_to nation_path(@nation), notice: t('geopolitical.flash.created', model: Nation.model_name.human)
|
|
23
23
|
else
|
|
24
|
-
render :new, status: :
|
|
24
|
+
render :new, status: :unprocessable_content
|
|
25
25
|
end
|
|
26
26
|
end
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ module Geopolitical
|
|
|
29
29
|
if @nation.update(nation_params)
|
|
30
30
|
redirect_to nation_path(@nation), notice: t('geopolitical.flash.updated', model: Nation.model_name.human)
|
|
31
31
|
else
|
|
32
|
-
render :edit, status: :
|
|
32
|
+
render :edit, status: :unprocessable_content
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
35
|
|
|
@@ -22,7 +22,7 @@ module Geopolitical
|
|
|
22
22
|
if @region.save
|
|
23
23
|
redirect_to region_path(@region), notice: t('geopolitical.flash.created', model: Region.model_name.human)
|
|
24
24
|
else
|
|
25
|
-
render :new, status: :
|
|
25
|
+
render :new, status: :unprocessable_content
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ module Geopolitical
|
|
|
30
30
|
if @region.update(region_params)
|
|
31
31
|
redirect_to region_path(@region), notice: t('geopolitical.flash.updated', model: Region.model_name.human)
|
|
32
32
|
else
|
|
33
|
-
render :edit, status: :
|
|
33
|
+
render :edit, status: :unprocessable_content
|
|
34
34
|
end
|
|
35
35
|
end
|
|
36
36
|
|
data/lib/geopolitical/version.rb
CHANGED