Giter Site home page Giter Site logo

Comments (12)

Kyslik avatar Kyslik commented on August 25, 2024

Are you sure it is caused by this package?

from column-sortable.

anhtuank7c avatar anhtuank7c commented on August 25, 2024

I do too.
Step by step follow your guide.
But finally get Route [] not defined error

from column-sortable.

Kyslik avatar Kyslik commented on August 25, 2024

I will take a look at this issue asap. Do you use L 5.1 or L 5.0?

I've changed readme a bit please do read example section again.

from column-sortable.

anhtuank7c avatar anhtuank7c commented on August 25, 2024

I use laravel 5.1

from column-sortable.

Kyslik avatar Kyslik commented on August 25, 2024

I can not reproduce the problem, any other packages that you use?

from column-sortable.

Kyslik avatar Kyslik commented on August 25, 2024

@anhtuank7c can you post routes.php?

from column-sortable.

saimiris avatar saimiris commented on August 25, 2024

I have the exact same issue here. I followed step by step your guide and I got this error.

from column-sortable.

Kyslik avatar Kyslik commented on August 25, 2024

Can you post example of your routes.php

from column-sortable.

saimiris avatar saimiris commented on August 25, 2024

Sure!

Route::get('admin/students', [
'middleware' => 'auth', 'uses' => 'AdminController@getStudentsList'
]);

On Mon, Sep 28, 2015 at 4:26 PM, Martin Kiesel [email protected]
wrote:

Can you post example of your routes.php


Reply to this email directly or view it on GitHub
#7 (comment)
.

from column-sortable.

Kyslik avatar Kyslik commented on August 25, 2024

Oh I see why it doesnt work. You need to name your routes, what I mean try this route instead:

Route::get('admin/students', [
    'middleware' => 'auth', 
    'as' => 'admin.students.index',
    'uses' => 'AdminController@getStudentsList'
]);

route name doesnt need to follow any conventions, it needs to be present for now

I'll look into it so its not necessary, try it out for me tho.

from column-sortable.

Kyslik avatar Kyslik commented on August 25, 2024

Non-named routes are supported, just download newest release 3.0.2 ($ composer update)

see details below:

https://github.com/Kyslik/column-sortable/blob/master/src/Kyslik/ColumnSortable/Sortable.php#L57

from column-sortable.

saimiris avatar saimiris commented on August 25, 2024

Many thanks.

from column-sortable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.