We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f008275 commit 2fa8d7aCopy full SHA for 2fa8d7a
lib/authoreyes/helpers/in_controller.rb
@@ -38,7 +38,7 @@ def filter_resource_access(options = {})
38
ActionController::Metal.send(:define_method, :authorization_object) do
39
if params[:id].present?
40
begin
41
- controller_name.singularize.camelcase.capitalize.constantize.find(params[:id])
+ controller_name.singularize.camelcase.constantize.find(params[:id])
42
rescue NameError
43
logger.warn '[Authoreyes] Could not interpolate object!'
44
end
lib/authoreyes/version.rb
@@ -1,3 +1,3 @@
1
module Authoreyes
2
- VERSION = '0.2.3'.freeze
+ VERSION = '0.2.4'.freeze
3
0 commit comments