The laravel-routing tag has no wiki summary.
1
vote
1answer
27 views
Laravel how to route old urls
I am using Laravel 4.
I have an old url that needs to be routable. It doesn't really matter what it's purpose is but it exists within the paypal systems and will be called regularly but cannot be ...
0
votes
1answer
17 views
Laravel 4: How can I call the controller inside a filter?
I have this class and filter:
class ApiController extends BaseController {
public function __construct()
{
$this->afterFilter(function()
{
if ($this->response_type == 'json'){
...
0
votes
1answer
56 views
Laravel 4 : Route doesn't match with trailing slash, how to make?
this route doesn't match :
Route::get('/{cat}/',
array('as' => 'article_cat', 'uses' => 'ArticleController@cat'))
->where('cat', $pattern_str);
Without trailing slash the route ...
0
votes
1answer
35 views
laravel 4 - conflicts between routers and folders
I have this route in routes.php
Route::get('/{page}',function($page){
/// Blah blah blah
});
Now I can access pages this way
www.mywebsite.com/pageNameHere
but I have a folder named ...
0
votes
1answer
33 views
Laravel filter not redirecting
i have this in routs.php
Route::when('/user/*', 'check_login');
Route::get('/user', 'UserController@index');
and this in filter.php
Route::filter('check_login', function()
{
if ...
0
votes
1answer
57 views
Laravel FrozenNode Administrator run in maintenance mode
My question is: How can I leave the Frozennode administrator runs normaly on Laravel Maintenance Mode?
This is what I got in global.php
App::down(function()
{
return ...
0
votes
1answer
206 views
Laravel Property of non-object error
I have met a small hitch in my attempt at understanding laravel and need some help.
I have an "Appointments" model, controller and various views.
Model:
class Appointment extends Eloquent {
...
1
vote
0answers
222 views
Laravel 4: authentication not working when public folder is a subdomain
I'm making this edit to clarify things, read the stuff below the edit if you need more info please.
Basically I have deployed my laravel cms into a subdirectory on a site so that the usual laravel ...
0
votes
0answers
57 views
Laravel 4 model, controller and route error
I can't get rid of the errors. I've created an model, and have functions in controllers and a route, but I get errors.
my model(newsticker.php):
<?php
class Newsticker extends Eloquent {
...
0
votes
0answers
54 views
RESTful controller routes with wildcards
I am trying to create a CMS and I want to route to a RESTful controller that will take the id of a post, retrieve that post and place it in a form for editing. My route for this is:
...