lib/phlexible/rails/action_controller/implicit_render.rb in phlexible-0.6.0 vs lib/phlexible/rails/action_controller/implicit_render.rb in phlexible-0.6.1
- old
+ new
@@ -58,10 +58,10 @@
end
private
def phlex_view(action_name = @_action_name)
- phlex_view_path(action_name).classify.constantize
+ phlex_view_path(action_name).classify.safe_constantize
end
def phlex_view_path(action_name)
"#{controller_path}/#{action_name}_view"
end