action-hero 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4dd7aab8d4cf9e0b6e1f11fe7600ca7b46456cb6
4
- data.tar.gz: ce28459313a2dc21aaead7e17d64c60d1a48a65b
3
+ metadata.gz: dccea77bf4d490c1e635c2bd7f0590cad241242b
4
+ data.tar.gz: 4a3152a4ae1a68ab1344c5b65241bfdf786cce2c
5
5
  SHA512:
6
- metadata.gz: cd25f0203bf2f9b118fadfcb4cbe0f8d3637869a2f194c831b9662145cd4edca5d4360a7787764042229ba218c3026ef6650e012a79b6659df1265954009ef68
7
- data.tar.gz: 029453533f3667fd3866d2cafcfa2a81109c080eaa435e18453fc75bb5f714475bbcef38c0218b16936bb92caf269605f47e90cfb353747c6b5164adb15b47d9
6
+ metadata.gz: a3f0e104b1317acdb58a9a73a25b8062d7696463cec588cc1153ee21289e1c391ce772a3a5c306c650d012d777fe488fb6a376fa3c7da539ee836695a849b6a4
7
+ data.tar.gz: 1798d0126def710fa8f35898a626e08c345c8aeb2db08229e037b909d6eab2048defc0ff644a270de099e0b08f0794837bf9fe81cb0c8963e08f7a61082738d0
@@ -1,5 +1,5 @@
1
1
  module ActionHero
2
2
 
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
 
5
5
  end
@@ -16,7 +16,7 @@ module ActionDispatch
16
16
  private
17
17
 
18
18
  def controller_reference(controller_param, action_param)
19
- const_name = @controller_class_names[controller_param] ||= "#{controller_param.camelize}Controller"
19
+ const_name = (@controller_class_names || @controllers)[controller_param] ||= "#{controller_param.camelize}Controller"
20
20
  ActiveSupport::Dependencies.constantize(const_name)
21
21
  rescue NoMethodError
22
22
  # protect against misidentification due to
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action-hero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - C. Jason Harrelson