这是indexloc提供的服务,不要输入任何密码
Skip to content

If a News Expires, The Archive link is broken! #154

@oshovah

Description

@oshovah

Hi
If a News-Article is expired, the link in the archive leads to a "page not found" error. Because this News dont exist anymore but will be listed in the Archive links.

So this <%= news_item_archive_links %> sould either ignore News that are expired or have a working link.

Is there a workaround?

Regards Dino

EDIT:
This is the Error that shows up, if you hit "Show this News live" on the news backend module:

ActiveRecord::RecordNotFound in Refinery::News::ItemsController#show

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions