Closed tom-orrow closed 10 years ago
Anyone have a solution to this?
We are also experiencing this. Is @g0ody's fix something that could be applied to this gem?
Closing since PR was merged
in my case I use toastr-rails for pretty alerts or bootstrap_flash messages so, if you use this script from toastr gem documentation ` <% unless flash.empty? %>
<script type="text/javascript">
<% flash.each do |f| %>
<% type = f[0].to_s.gsub('alert', 'error').gsub('notice', 'info') %>
toastr['<%= type %>']('<%= f[1] %>');
<% end %>
</script>
<% end %> `
just need remove this line on layouts or some views
<%= bootstrap_flash %>
There is unnecessary 'require' calls in lib/twitter/bootstrap/rails/engine.rb:
Looks like they are already loaded and on each request BootstrapFlashHelper (for example) calls twice giving me this warning: