Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Revert "Fix Lookbook `define_param_input` deprecation warning"

Aaron Contrerasb32daaaa7545
diff --git a/config/initializers/lookbook.rb b/config/initializers/lookbook.rb
index 1a69ce4f8a4..bdf5b9a46be 100644
--- a/config/initializers/lookbook.rb
+++ b/config/initializers/lookbook.rb
@@ -37,7 +37,7 @@ OpenProject::Application.configure do
# rubocop:enable Lint/ConstantDefinitionInBlock
Rails.application.reloader.to_prepare do
- Lookbook.add_input_type(:octicon, "lookbook/previews/inputs/octicon")
+ Lookbook.define_param_input(:octicon, "lookbook/previews/inputs/octicon")
[
Lookbook::ApplicationController,