app/helpers/layouts_helper.rb
def prepend_yield
    content_tag :div, :id => "main-flashses" do
    render :partial => 'common/flash_msg'
    end
  end
# Prepend the flash message partial before yield
Prepend the flash message partial before yield
Prepend the flash message partial before yield
def prepend_yield
    content_tag :div, :id => "main-flashses" do
    render :partial => 'common/flash_msg'
    end
  end
def prepend_yield content_tag :div , :id => "main-flashses" do render :partial => 'common/flash_msg' end end
Prepend the flash message partial before yield
Prepend the flash message partial before yield