flame 3.3.1 → 3.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flame/dispatcher.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a61779c08e772e1bd54da4364ad652061bfdac29
4
- data.tar.gz: 1eac1e3b00890e638ea378ca86cb68b3c76fdca8
3
+ metadata.gz: 961b6996b8d6f921a727f75d9a3986b2d27c87ff
4
+ data.tar.gz: 17df2b8f0253a510c11daaf1bbab63f85c99e739
5
5
  SHA512:
6
- metadata.gz: 36f71c677b77b0bbf1a8ba925a3dea66b4b37b015af2173588c610607506aad4855cfcea07cabccb174d5426860298edfbf86eba8327565aa59c1c5179181acb
7
- data.tar.gz: 491e236bd4b08481e913bd27645e01333c698e97234c012cf09cd8adb8053e4cf76a5dd2796b1d3a29f54277236c0e1dd71b82a41fc29a28a2724ca7d40f6e96
6
+ metadata.gz: 73b42ef28db03c658a25d6c92bd9356ff50a7ae82e610ec27cd9168eede687117b6bfe52410d2fba433b0300434c124bd5c3393cdb9bfcab454212d0a802044e
7
+ data.tar.gz: 0e26def8d075900c4784bcdf5fb131111f1211dadc7c02cc1be351e3e4e00cc598d9d066232fd3ab967ebbbe6cf718594bfd35ff21e255535a05fd2ed813f41a
@@ -42,7 +42,7 @@ module Flame
42
42
  @app.config
43
43
  end
44
44
 
45
- def path_to(ctrl, action, args = {})
45
+ def path_to(ctrl, action = :index, args = {})
46
46
  route = @app.class.router.find_route(controller: ctrl, action: action)
47
47
  fail RouteNotFoundError.new(ctrl, action) unless route
48
48
  path = route.assign_arguments(args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flame
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov