Skip to content

Commit

Permalink
Merge branch 'release/v0.2.11'
Browse files Browse the repository at this point in the history
  • Loading branch information
bopm committed Aug 28, 2024
2 parents e19fd10 + 06b50ce commit 29a06a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/controllers/turbo_material/lookbook_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# frozen_string_literal: true

module TurboMaterial
class LookbookController < Lookbook::PreviewController
class LookbookController < if defined?(Lookbook)
Lookbook::PreviewController
else
ActionController::Base
end
layout 'turbo_material/lookbook'
end
end

0 comments on commit 29a06a0

Please sign in to comment.