So there are three called the resource controller and later taps commands.
As you can see.
And from the beginning and until now, we were customizing our own control and here you can see it's
happened, our son may control its pace and they put the name of the controller.
We were a customer and consumer and the resource consumer is the leader of the air reserve.
It's a lot of control in which you are going to fund probably all functions that we need in a service
and culturally we can create.
So we can update's we can be leaders, we can edit, we can view, we can show all things that we are
in control that we are going to find.
It's a unique resource controller and the history and see if this war before creating our resource constraint,
if it suffers from this.
Come on.
Our sons, our son.
Wrote lists like this, and I can view different routes, different routes I have in my.
You may project his you can see here and there, you will see here for you, but slushy boards creates
delays and you got to we're going to all sorts of things.
Here you go.
You were right in there.
You can see our out there and we have our Sudip just control it.
Different contraries and function.
If you have here, we can view already.
So here we are going to be talking about the we are going to be talking about the area in which we are
going to call and to create a controller, but say having reserved and driving reserve is a behavior
in which regular funds a different function and what creating it generates it automatically.
So how to create a resource controller.
So let us have the same commands because they.
Our sons.
Make controls, so we're going to be creating another controller and they're going to control controlled
products here, we make controller and safe products.
Control so much, forget who followed your syntax, Comikaze, and you going to say space, you've got
to put natural resources like this and then press enter so it a sequel to recreate it successfully.
But once you click on this product controller.
Which is the what you're going to require funds, we gave the index function.
We have to create function.
We have restore function.
We have this function.
We have it.
It's we have updates.
We have these treaties, the deletion function.
You're going to see that we're going to get all and Hejazi for the updates we have.
First of all, we need to have the request and the idea.
We have it for it.
It's right.
Which is the deletion function.
We have ID for the ID is we have ID and therefore this show we have also the ID for the star.
The storage is safe.
We have the request liquid's.
You see, we're going to get all function in this set of aristos controller in history and see if you
can use you can customize your own controller.
You can use also Eric Cantor in which you're going to find the different controllers and the different
functions and only included your, you know, console.
And if we retype the cell commands saying, for example, PSP and they're hearing us say, oh, this
is.
Outdistance or.
Least.
And you see, we have this, I think, but if we go to a Web, Dogpatch P and here we need to first
the resource control routes and how to do that, you need us to come here.
You are, Sir Ruth.
And here we go, Ceressus, OK, latte's, and here we're going to say, for example, products like
this and here you going to set your controller, you'll say only like these products.
On of their goods and then products and yes, they're safe, and that's mean if you put these products
like this, you're going to be restricted to.
They slashed products and they're going to access only the protocols for and an important.
So let us come here.
It means that you will throughputs, that's pleasence don't slash products.
And if I press on, sir, I'm going to get a blank page because we see yet and put some calls in our
products, comptrollers, which is Wheatsheaf and all function in it.
So everything we're going to do first for is to use the first function and DeFries function is function.
Function index is similar in what we have in our pages control.
It is similar to the home function and here by default, we are going to wait for his index.
Your services.
As you can see here, yes, is similar to this, and we are going to get Sardis that is Cleophus for.
It's similar to the index and in our case, the desert or KS, the desert is TrueView, these different
information and it's different information, which is the services like this.
So the desire is to use this as an the first page, because we only really to need to view different
products that we have.
So let us make, first of all, our index in our product portfolio.
And here, for example, if we take the SIM card, let us take four seconds.
We are going to.
It is take this from here, Page's thoughts.
It is copters and and come through the product Pansori instead of the index, as you can see, this
index is the front page if you put.
He's the different speeds if you put.
And it is physicalities if you put sludge products, Little Prince, for example, in.
It takes your message.
And this is the default.
Function.
So it is safe and let us make sure and if raillery page, you should see and the products here, yes,
you should see, we're going to get this is the default function.
That means if you put slash products, which is by default in our roots here and you're going to and
use this function uses the default, the default function, you want to use this function in which we
are going to display our website.
So the desire is for you to display the services page because it services space.
We can view different information that we have.
So I'm going to press on sets, reload page if we can get the same website.
So let us restrict against what we call product Muffat.
Yes.
As you can see here in the product controller, we are using the Larrivee eloquent by using the product,
which is the model we need, first of all, to import this model and serial say products.
So do not forget this result where we are going this year.
So let us begin with Larry Page.
Yes, as you can see, we have the same websites, but means only if you put slash, if you put slash
products, you're going to get all this very good and very simple.
And they can see the same thing with what we have in our pages control it in.
The second thing is they create for example, if I click on this button, you create new products.
I should be redirected to the form in which I can create a new product.
So we are going to be using a resource controller in this case, because if you click through these
moments, these moments on new products, we are going to be redirected to we are going to be redirected
through the create a phone with which is the only for the pages controller.
So the new thing we are going to do here, we are going to create a new folder in our views, the folder.
So it is commonly used for the we are going to create a new folder and then we're going to name this
for the products like these products.
Products, yes, and intersession we are going to create.
And we're going to create a file.
Reg'lar name is fine, so leaders conference Saussure.
We're going to say for four years.
Nose bleeds.
The Schicchi.
Create the bleed.
That's BHP and Rio going also to create another file, because, as you can see for you, for the services
page in which we have to view this different page, if we try to click here, we are going to be redirected
to the pages, controller roles, and we are going to need only to create an A services page only for
the product comScore.
So let us come here.
We we got it.
Another.
You know, they if we don't call this file on pages, services, services that need.
Let's she she just services the split GSB, so I'm going to get the same thing here, let us come through
the pages.
This is all pages I'm going to take or I have in my services.
Yes.
Like this.
And I'm going to to show you the services, which is for the controller for the Proyectos for so.