Skip to content
This repository was archived by the owner on Mar 2, 2020. It is now read-only.
This repository was archived by the owner on Mar 2, 2020. It is now read-only.

Catch all route prevents previewing in Rails 4.1 #79

@mmustala

Description

@mmustala

Hi,

I'm using Rails 4.1 and have not installed the gem separately.
I have a catch all route as the last route in my routes.rb file

get '*path' => 'main#page_not_found'

This catches also the preview path.

What would be the recommended way to implement the catch all route so that it would not conflict with the preview path? Or can I explicitly define the preview path in the route file?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions