Revision 43ebc4d4
Added by Eric Helms over 10 years ago
app/services/menu/item.rb | ||
---|---|---|
:controller => url_hash[:controller].to_s.gsub(/::/, "_").underscore,
|
||
:action => url_hash[:action]
|
||
})
|
||
rescue
|
||
rescue => error
|
||
Rails.logger.error "#{error.message} (#{error.class})\n#{error.backtrace.join("\n")}"
|
||
false
|
||
end
|
||
|
||
end
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #3820 - adds exception output to menu item authorization check