app/controllers/qa/terms_controller.rb in qa-0.5.0 vs app/controllers/qa/terms_controller.rb in qa-0.6.0
- old
+ new
@@ -28,10 +28,10 @@
head :not_found unless params[:vocab].present?
end
def init_authority
begin
- mod = authority_class.constantize
+ mod = authority_class.camelize.constantize
rescue NameError => e
logger.warn "Unable to initialize authority #{authority_class}"
head :not_found
return
end