Fix tests
This commit is contained in:
parent
fbf6923835
commit
6e1a17281d
22 changed files with 235 additions and 13 deletions
|
|
@ -28,6 +28,8 @@ class RodauthController < ApplicationController
|
|||
|
||||
private
|
||||
def initialize_sidebar_items
|
||||
return unless rodauth.logged_in?
|
||||
|
||||
[
|
||||
{ label: "Profile", icon: :'person', path: profile_path, active: action_name == "profile" },
|
||||
{ label: "Passwort ändern", icon: :'lock', path: rodauth.change_password_path, active: action_name == "change_password" },
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@
|
|||
<% end %>
|
||||
|
||||
<div class="form-group mb-3">
|
||||
<%= form.submit rodauth.logout_button, class: "btn btn-warning" %>
|
||||
<%= form.submit "Log out", class: "btn btn-warning" %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue