We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A NoMethodError comes up when clicking the "Insert Image" button.
link_to_remote has been removed from Rails 3, so line 3 of _wysihat_file.html.erb should change from:
<%= link_to_remote t('wysihat_files.destroy.name'), :url => wysihat_file, :method => :delete, :confirm => t('wysihat_files.destroy.sure') %>
to
<%= link_to t('wysihat_files.destroy.name'), :url => wysihat_file, :method => :delete, :confirm => t('wysihat_files.destroy.sure'), :remote =>true %>
This fixed the NoMethodError, it still doesn't work well. Ideas?
The text was updated successfully, but these errors were encountered:
i'm using:
<%= link_to "Delete", wysihat_file, :confirm => 'Are you sure?', :method => :delete, :remote => true %>
the t() parts are only translations
Sorry, something went wrong.
No branches or pull requests
A NoMethodError comes up when clicking the "Insert Image" button.
link_to_remote has been removed from Rails 3, so line 3 of _wysihat_file.html.erb should change from:
<%= link_to_remote t('wysihat_files.destroy.name'), :url => wysihat_file, :method => :delete, :confirm => t('wysihat_files.destroy.sure') %>
to
<%= link_to t('wysihat_files.destroy.name'), :url => wysihat_file, :method => :delete, :confirm => t('wysihat_files.destroy.sure'), :remote =>true %>
This fixed the NoMethodError, it still doesn't work well. Ideas?
The text was updated successfully, but these errors were encountered: