ish_manager 0.1.8.196 → 0.1.8.197

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: 19bd1d5de6481ff14893ff864ccb83eb9eb47291911ca87a63c4775d016c6dce
4
- data.tar.gz: 1e4c589097e66df70d6e4804662f069d01d81f9f2a5ef029a58b31ebb7622585
3
+ metadata.gz: ca09bfcee1b53f1c8d48fce83557aeed900d625f34dde66890c7ed4411683544
4
+ data.tar.gz: 24883e679bf51dc63e0b053f1fe22e4597d28d9481abc4cd4c227f41b13bcc06
5
5
  SHA512:
6
- metadata.gz: d774b17584c085eb85a32a7a6c1d20cf88af85fa8989a3824281770336d5b5a6df0a5bcf7edd6245bac159044e5ba295b26a60a8d3684ba4b26023c8ffe40015
7
- data.tar.gz: f116d48742e7a731eab160dd3b17ce8138a4e38f7767814b0257de73b963ddf4ad6a7553b7f9c0398f2ef7d54cdab6368e9f93a387de00dc44df23fc10f181b3
6
+ metadata.gz: 2f743bb04f24520ac2f9cfa4a1629e20176f592e02f3dd1b9185b6aff5e50cfe207dc75bd01ae571474e9379aa05c1f3e8a800352163879ff2aff244c70b07c3
7
+ data.tar.gz: 560d88f55e2604369ae74951991a810666a5afa115e25081996e45af018ae5bafd31e57a3891bc879d650c51038163712ca3df0b8dea65ff57945bb81f3610da
@@ -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 gameui_map_path(@map.id), notice: 'Map was successfully created.' }
30
+ format.html { redirect_to map_path(@map.id), notice: 'Map was successfully created.' }
31
31
  else
32
32
  format.html { render :new }
33
33
  end
@@ -49,7 +49,7 @@ class IshManager::MapsController < IshManager::ApplicationController
49
49
  authorize! :destroy, @map
50
50
  @map.destroy
51
51
  respond_to do |format|
52
- format.html { redirect_to gameui_maps_path, notice: 'Map was successfully destroyed.' }
52
+ format.html { redirect_to maps_path, notice: 'Map was successfully destroyed.' }
53
53
  end
54
54
  end
55
55
 
@@ -1,5 +1,10 @@
1
+ -#
2
+ -# ish_manager / maps / _form
3
+ -#
1
4
 
2
- = form_for @map do |f|
5
+ - url = params[:action] == 'new' ? maps_path : map_path(@map)
6
+
7
+ = form_for @map, url: url do |f|
3
8
  - if @map.errors.any?
4
9
  #error_explanation
5
10
  %h2= "#{pluralize(@map.errors.count, "error")} prohibited this map from being saved:"
@@ -13,7 +13,7 @@
13
13
  .item
14
14
  .flat-row
15
15
  .a= marker.slug
16
- .a= button_to '~', edit_gameui_marker_path(marker), method: :get
16
+ .a= button_to '~', edit__marker_path(marker), method: :get
17
17
  .a= button_to 'x', marker, method: :delete, data: { confirm: 'Are you sure?' }
18
18
  .a= link_to '[api]', api_marker_path(marker)
19
19
  %ul.bullets
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.196
4
+ version: 0.1.8.197
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox