swamp-rails-actions 1.0.0 → 1.0.1

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: f77d3514fb0654afcbf11ad9e4d24a5a28c14ee3940792589f4821c4e504f8cd
4
- data.tar.gz: f9a80f1ed3d7c587a18ecfd14420a3515de8677afd7156a289c253dcd5c52be9
3
+ metadata.gz: c7a96568e665b002d37b55b29b0636ed4a986804f576006f4ea53809989cdda7
4
+ data.tar.gz: d537477373809a22f5bc92190b2e4a44ec98b3b2efc813d4d619b34ade1623d5
5
5
  SHA512:
6
- metadata.gz: 3ab57d6cf5c3afaf6c0f09df82633f8c52b27b11c72084b7da07fb22c242b82d1c95bac51b7dfdb785aa59a16380aa0b597c9a33bc535624f175a8d4ae9faf5d
7
- data.tar.gz: c0f2ee2ffa56db9a1d06df59546b0ec6f1c86af4d56358b699e906369f4fa6419f8478c3563675512566a71ee04e6baeba0eb968352c7539a1c34900d631be72
6
+ metadata.gz: 2a41528f594c9bf7bfc9861260ab168af5e7296b48a543f105d9b27319ed360dd5ac94e741fa7031c26101fbaf9666e8238ed523868d7e43e5969e93911db30a
7
+ data.tar.gz: 4eee3e66ec9b21b803af8a706f6c488c4e7819744e8aef52957eba280ce13e8f1c385f858c46c56e74c186983221d6a87085ad240b6c40875ed7557021aad4fe
@@ -3,7 +3,7 @@
3
3
  module Swamp::Action
4
4
  module Routes
5
5
  def router
6
- @router ||= Router.new
6
+ @router ||= Rails.application.routes
7
7
  end
8
8
 
9
9
  def path(name, options = Hash[])
@@ -19,9 +19,5 @@ module Swamp::Action
19
19
  opts[:host] = @request.host if @request
20
20
  end
21
21
  end
22
-
23
- class Router
24
- include Rails.application.routes.url_helpers
25
- end
26
22
  end
27
23
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swamp-rails-actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marion Duprey