We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
here's a failing test: b446ee9
I fails because @page is nil. The find_by_path_or_id method returns nil because the path is parent-page/5 instead of just the id or slug, ie 5
parent-page/5
5
69: def find_page => 70: binding.pry 71: @page = Refinery::Page.find_by_path_or_id(params[:path], params[:id]) 72: end [1] pry(#<Refinery::Admin::PagesController>)> params => {"switch_locale"=>"ru", "controller"=>"refinery/admin/pages", "action"=>"edit", "path"=>"parent-page/5", "locale"=>:en} [2] pry(#<Refinery::Admin::PagesController>)> Refinery::Page.find_by_path_or_id(params[:path], params[:id]) => nil
The text was updated successfully, but these errors were encountered:
failing test for child page with no default translation
b446ee9
Should be fixed by #2379.
Sorry, something went wrong.
No branches or pull requests
here's a failing test: b446ee9
I fails because @page is nil. The find_by_path_or_id method returns nil because the path is
parent-page/5
instead of just the id or slug, ie5
The text was updated successfully, but these errors were encountered: