Support the ongoing development of Laravel.io →

Temoxa90

Joined 16 Nov 2015

Statistics

Threads 1
Replies 3
Solutions 0
Articles 0

How to add a parameter to $request variable?

Hello! I have two models: articles and comments. In a view 'article.show' i have a form that creates...

0 Likes
5 Replies
Solved
replied 8 years ago

How to add a parameter to $request variable?

I figured out :) Need to do this in store method: public function store(Request $request, $articleId...

0 Likes
replied 8 years ago

How to add a parameter to $request variable?

Oh, now I get it! But still have a problem :) I can't find 'aricle_id' variable( I changed url in fo...

0 Likes
replied 8 years ago

How to add a parameter to $request variable?

My routes look like this: Route::resource('articles', 'articleController'); Route::resource('comment...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.