Organise with layouts
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-15 08:44:08 +01:00
parent 54b25a061e
commit caa45332b0
13 changed files with 61 additions and 47 deletions

View File

@@ -2,9 +2,11 @@ class UsersController < ApplicationController
before_action :set_user, only: %i[ destroy edit update show ]
def index
@title = "All users"
end
def edit
@title = "My settings"
end
def update
@@ -16,6 +18,7 @@ class UsersController < ApplicationController
end
def show
redirect_to edit_user_path(@user)
end
def new