tramway-admin 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/tramway/admin/records/_list.html.haml +1 -1
- data/lib/tramway/admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02a617fd538e8d5e62201e5a2901fcf1fef771ebb537168665d737d3d4d68b02
|
4
|
+
data.tar.gz: 4f6a7d837cf6d6532e872f5b2d8917100a399cf2ee2946a9c815b761b80c121b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7c2d2925c1ea4fd96b7a25d12d807b186325be81d7d21ac2c59665a72cb2f0cbbb7eae33fccff6b367cf5e7c3321cb401b3f507e475a68a6408f2de4d420ba7
|
7
|
+
data.tar.gz: faad01a28f5b1c7fae432fda57306979df7fe4d7bd3f74c076a36c838966b20019245ff993f62ac2801351b96fd52c53b61e78e33c6ad84202847dd8530cd74e
|
@@ -21,7 +21,7 @@
|
|
21
21
|
.btn-group{ data: { toggle: :buttons } }
|
22
22
|
- record.model.class.state_machines.keys.each do |state_method|
|
23
23
|
- unless state_method == :state
|
24
|
-
= state_events_buttons record, state_method: state_method, model_param_name: :record, route_method: :current_model_record_path, parameters: { redirect: current_model_records_path }
|
24
|
+
= state_events_buttons record, state_method: state_method, model_param_name: :record, route_method: :current_model_record_path, parameters: { redirect: current_model_records_path(page: params[:page], scope: params[:scope]) }
|
25
25
|
= link_to fa_icon(:pencil), edit_current_model_record_path(record.id), class: 'btn btn-warning btn-xs'
|
26
26
|
= link_to fa_icon(:remove), current_model_record_path(record.id), method: :delete, class: 'btn btn-xs btn-danger'
|
27
27
|
= paginate @records, theme: 'twitter-bootstrap-4'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap-kaminari-views
|