Skip to content

Commit

Permalink
fix for "Please use symbols for polymorphic route arguments."
Browse files Browse the repository at this point in the history
  • Loading branch information
anamba committed Jan 11, 2022
1 parent 87fecc7 commit 3ab55f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/manage/cms_snippets/edit.html.erb
Expand Up @@ -2,7 +2,7 @@

<h2><%= params[:action].titlecase %> Snippet</h2>

<%= form_with(model: ['manage', @cms_snippet], local: true) do |f| %>
<%= form_with(model: [:manage, @cms_snippet], local: true) do |f| %>
<%= f.text_field :name, placeholder: 'Snippet Name', :size => '50' %>
<div class="codemirror-html-container">
<%= f.text_area :content, class: 'codemirror-html autocomplete-off' %>
Expand Down
2 changes: 1 addition & 1 deletion lib/imagine_cms/version.rb
@@ -1,3 +1,3 @@
module ImagineCms
VERSION = "5.2.5"
VERSION = "5.2.6"
end

0 comments on commit 3ab55f0

Please sign in to comment.