Hi Jean,
First of all, congratulations for the gem, looks very nice. I just integrated the blog with my app and configured the layoyt, but for some reason it throws an error when trying to access one of the rails generated path variable helpers. Let me paste the code to be clearer
I have a model called 'center'
and in application.html.erb, I am showing a menu using these helpers
<ul class="menu">
<li <%= 'class = active' if request.url == centers_url %>>
<a href="<%= centers_path %>"><i class="icon-chevron-down"></i> Centros</a>
</li>
but for some reason, the variable centers_url is not available when I access the blog
ActionView::Template::Error (undefined local variable or method `centers_path' for #<#<Class:0x007fe53e013b70>:0x007fe53e1bc328>):
113: <nav id="combined-nav" class="nav-collapse">
114: <ul class="menu">
115: <li <%= 'class = active' if request.url == "
http://localhost:3000/centers" %>>
116: <a href="<%= centers_path %>"><i class="icon-chevron-down"></i> Centros</a>
117: </li>
118: <li <%= 'class = active' if request.url == promotions_url %>>
119: <a href="<%= promotions_path %>"><i class="icon-chevron-down"></i> Promociones</a>
app/views/layouts/application.html.erb:116:in `_app_views_layouts_application_html_erb__99968385403352858_70311284176080'
Here's how I mounted monologue
mount Monologue::Engine, at: '/'
Is there something else I'm missing?