Skip to content

Doesn't work with edge verision #5

@kennyadsl

Description

@kennyadsl

Hi, I'm trying to get this extension working with the edge version. Migrations are ok but when I try to run the server I get the following error:


ActionView::Template::Error (undefined method `upcase' for nil:NilClass):
    29:   <div id="admin-menu" data-hook>
    30:     <ul data-hook="admin_tabs">
    31: <%= render 'admin/shared/tabs' %>
    32:     <%= tab(:pages) %><%= tab(:promotions) %><%=  tab(:question_categories, :label => :question_categories_admin) %>
    33: </ul>
    34: <br class="clear">
    35: </div>

I think it's related to this deprecation warning:

[DEPRECATION] `insert_bottom` hook method is deprecated, replace hook call with: 
Deface::Override.new(:virtual_path => "layouts/admin",
                     :name => "converted_admin_tabs_652663900",
                     :insert_bottom => "[data-hook='admin_tabs'], #admin_tabs[data-hook]",
                     :text => "<%=  tab(:question_categories, :label => :question_categories_admin) %>",
                     :disabled => false)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions