Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
queue
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Cristian Mauricio Diaz Canales
queue
Commits
9badabd4
Commit
9badabd4
authored
Dec 29, 2022
by
Cristian Mauricio Diaz Canales
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correccion query servicios en controlador
parent
49529ce1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Http/Controllers/UserController.php
app/Http/Controllers/UserController.php
+2
-2
No files found.
app/Http/Controllers/UserController.php
View file @
9badabd4
...
@@ -48,7 +48,7 @@ class UserController extends Controller
...
@@ -48,7 +48,7 @@ class UserController extends Controller
*/
*/
public
function
create
()
public
function
create
()
{
{
return
view
(
'user.create'
,
[
'roles'
=>
Role
::
get
(),
'activities'
=>
Service
::
get
()]);
return
view
(
'user.create'
,
[
'roles'
=>
Role
::
get
(),
'activities'
=>
Service
::
where
(
'status'
,
true
)
->
get
()]);
}
}
/**
/**
...
@@ -109,7 +109,7 @@ class UserController extends Controller
...
@@ -109,7 +109,7 @@ class UserController extends Controller
return
view
(
'user.edit'
,
[
return
view
(
'user.edit'
,
[
'user'
=>
$user
,
'user'
=>
$user
,
'roles'
=>
Role
::
get
(),
'roles'
=>
Role
::
get
(),
'activities'
=>
Service
::
get
(),
'activities'
=>
Service
::
where
(
'status'
,
true
)
->
get
(),
'actividadAsociada'
=>
$actividad
'actividadAsociada'
=>
$actividad
]);
]);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment