lib/panda_pal.rb in panda_pal-5.4.0.beta8 vs lib/panda_pal.rb in panda_pal-5.4.0.beta9

- old
+ new

@@ -1,8 +1,9 @@ require "panda_pal/engine" require 'panda_pal/plugins' require 'panda_pal/helpers' +require 'panda_pal/jobs' require 'oauth/request_proxy/rack_request' require 'oauth/request_proxy/action_dispatch_request' module PandaPal class LtiNavigationInUse < StandardError;end @@ -72,19 +73,19 @@ end def self.register_extension(type, modul) type = normalize_ext_type(type) @@extensions[type] ||= [] - @@extensions[type] << modul + @@extensions[type] << modul.to_s end def self.extensions_for(type) (@@extensions[normalize_ext_type(type)] || []).uniq end def self.resolved_extensions_for(type) extensions_for(type).map do |ext| - ext.to_s.safe_constantize + ext.safe_constantize end.compact end private