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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5f658b9f4fc1d6e3c7f72781778d9c7f6e61a77c024e3d7d23b4a747c3ee017
4
- data.tar.gz: eaeefb859d9f1795483e675e65d91a0f7c53ed78bde4f24e001b11f6673e7dd6
3
+ metadata.gz: 02a617fd538e8d5e62201e5a2901fcf1fef771ebb537168665d737d3d4d68b02
4
+ data.tar.gz: 4f6a7d837cf6d6532e872f5b2d8917100a399cf2ee2946a9c815b761b80c121b
5
5
  SHA512:
6
- metadata.gz: 80572c4c0524577e40856d488205a0ede7cab653c088ffed742dc2a267b4c762b170377e8b4cf890ecd532638fc878e2a84bd62641b8f7662d1263dd7f11ff2a
7
- data.tar.gz: 120e8458c00f1f4dbc66c1f87496a2b032091e43d3c977b03624ca28f1c638ffcf2107ad3e497635d09d64a12f328d708bf710a2dcc83e2cf9f618efa21b8a26
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'
@@ -1,5 +1,5 @@
1
1
  module Tramway
2
2
  module Admin
3
- VERSION = '1.7.1'
3
+ VERSION = '1.7.2'
4
4
  end
5
5
  end
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.1
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-29 00:00:00.000000000 Z
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