Skip to content

Commit b2340a5

Browse files
committed
fixing rails 5 errors caused by require_dependency
1 parent 324b472 commit b2340a5

File tree

1 file changed

+2
-2
lines changed
  • app/concepts/matestack/ui/core/view

1 file changed

+2
-2
lines changed

app/concepts/matestack/ui/core/view/view.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require_dependency "cell/partial"
1+
require "cell/partial"
22

33
module Matestack::Ui::Core::View
44
class View < Matestack::Ui::Core::Component::Static
@@ -15,7 +15,7 @@ def include_partial
1515
controller.render_to_string view_path, layout: false, locals: locals
1616
elsif partial_path
1717
controller.render_to_string partial: partial_path, layout: false, locals: locals
18-
else
18+
else
1919
raise 'view or partial param missing for RailsView Component'
2020
end
2121
end

0 commit comments

Comments
 (0)