ish_manager 0.1.8.290 → 0.1.8.291

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: 10b58036e1539dc6ab5736bdfb26e2cfd5f5d7f700675540e30c217e6547e9d4
4
- data.tar.gz: 0a4462c36638c02afe159693f2294ef6137b295d28804bcdb765ca6e9c026f37
3
+ metadata.gz: b2350852869b35c0d23dcc0f4ceb241e18421b85479016e496690e46ea692280
4
+ data.tar.gz: cca6886cbb25473fc84af5f65b81c2b3246c2b3e442138b47e2c632ad7ee3d83
5
5
  SHA512:
6
- metadata.gz: 726d51acd9a2174e61aa7ffc37268e64ed9358c7ca6ae966debf97f91c98300497aee508e15743a8b0900ab74a96fddcd6484c10900d0fe44b72250fe0d4f998
7
- data.tar.gz: 89b8ebe2784ff1c31098fcc9f6fd5dd8c4e4624e1aad2a6a2023ca62b8970cb85170c72489bad47947bf6377a7d1fdf78a664c7406657837a14f09bf657cfa18
6
+ metadata.gz: 9919f8ad085a4d20ca85419c1db2b71e69b934c83a614860765f4fa411277d543204b5d98b0df402e95c0d122dcee9088a40633ba6151b5989e6203bed9a6f8b
7
+ data.tar.gz: 48d64edadefb32ab2477b2399028b9f1a18262b78768bb379a4f8c7e22ff3fc4c0dc263b269117beccf8e69b1eeff45e36d3f52ac8e195ac3eb7250ad67be04a
@@ -37,8 +37,10 @@ class IshManager::MapsController < IshManager::ApplicationController
37
37
  end
38
38
  end
39
39
 
40
+ ## @TODO: @obsolete, remove
40
41
  def edit
41
42
  authorize! :edit, @map
43
+ redirect_to action: 'show'
42
44
  end
43
45
 
44
46
  def export
@@ -10,14 +10,12 @@
10
10
  = f.label :name
11
11
  = f.text_field :name
12
12
  .field
13
- = f.label :created_at
14
- = f.text_field :created_at
13
+ = label_tag :photo
14
+ = file_field_tag :photo
15
15
  .field
16
16
  = f.label :descr
17
17
  = f.text_area :descr, :class => :tinymce
18
- .field
19
- = label_tag :photo
20
- = file_field_tag :photo
18
+
21
19
 
22
20
  .col.s6
23
21
  .field
@@ -29,11 +27,6 @@
29
27
  .field
30
28
  = f.label :city
31
29
  = f.select :city_id, options_for_select( @cities_list, :selected => ( newsitem[:city_id] || params[:city_id] ) )
32
- -# @TODO: tags must be multi-select, not 1x1
33
- .field
34
- = f.label :user_profile
35
- = f.select :user_profile_id, options_for_select( @user_profiles_list, selected: ( newsitem[:user_profile_id] || params[:user_profile_id] ) )
36
-
37
30
 
38
31
  %hr
39
32
  .row
data/config/routes.rb CHANGED
@@ -51,7 +51,7 @@ IshManager::Engine.routes.draw do
51
51
  resources 'newsitems'
52
52
  end
53
53
  post 'maps/import', to: 'maps#import', as: :import_map
54
- get 'maps/:id', to: 'maps#edit'
54
+ get 'maps/:id', to: 'maps#show'
55
55
  post 'maps/:id/export', to: 'maps#export', as: :export_map
56
56
 
57
57
  resources 'markers'
@@ -84,8 +84,7 @@ IshManager::Engine.routes.draw do
84
84
  resources :tags
85
85
  end
86
86
 
87
- # resources :stock_actions
88
- # resources :stock_options
87
+ ## @TODO: move these to iron warbler
89
88
  resources :stock_watches
90
89
  resources :option_watches
91
90
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.290
4
+ version: 0.1.8.291
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-19 00:00:00.000000000 Z
11
+ date: 2022-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk