Skip to content

Commit

Permalink
fix "Invalid Formats" error in action_view/lookup_context (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmaticsc authored and andreapavoni committed Jan 8, 2020
1 parent 47b3e22 commit c14036e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/panoramic/resolver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def initialize_template(record)
handler = ActionView::Template.registered_template_handler(record.handler)

details = {
:format => Mime[record.format],
:format => Mime[record.format].to_sym,
:updated_at => record.updated_at,
:virtual_path => virtual_path(record.path, record.partial)
}
Expand Down

0 comments on commit c14036e

Please sign in to comment.