Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug with pagination in production #25

Closed
gabriel-cardoso opened this issue Dec 5, 2014 · 3 comments
Closed

Bug with pagination in production #25

gabriel-cardoso opened this issue Dec 5, 2014 · 3 comments
Labels

Comments

@gabriel-cardoso
Copy link
Contributor

500 on table page

An ActionView::Template::Error occurred in my_component#show:

No route matches {:action=>"show", :component_id=>"my_component_slug", :controller=>"admin/my_component", :page=>nil}

app/views/admin/my_component/show.html.haml:4:in `_app_views_admin_my_component_show_html_haml___1398735354282324111_70013877212120'

Works in developement.

EDIT NOTE :

Add to config/environments/development.rb :

config.cache_classes = true

Seems to be because routes context is the one of Para in the view, so the route is not found on the Para engine, because it only exists in the main app

@gabriel-cardoso
Copy link
Contributor Author

In case it helps: adding ?page=1 to URL doesn't fix the bug

@vala
Copy link
Contributor

vala commented Dec 17, 2014

Updated description with latest informations

@vala
Copy link
Contributor

vala commented Feb 19, 2015

Actually, we'll still have a bug on custom components (i.e.: components
outside of Para)

Gabriel Cardoso
Glyph
+33 6 89 07 24 98 <+33689072498> / +33 9 53 55 22 91 <+33953552291>
31 rue raspail / 94200 Ivry Sur Seine
http://www.glyph.fr

2015-02-19 17:11 GMT+01:00 Gabriel Cardoso notifications@github.com:

Closed #25 #25.


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants