Method: Lesli::NavigationHelper#navigation_engine_shield

Defined in:
app/helpers/lesli/navigation_helper.rb

08.01 Shield engine



263
264
265
266
# File 'app/helpers/lesli/navigation_helper.rb', line 263

def navigation_engine_shield(title: "Shield", subtitle: "Authentication & Authorization")
    return unless defined? LesliShield
    navigation_engine_item(title, subtitle, "shield", lesli_shield.root_path, controller_path.include?("lesli_shield"))
end