Skip to content

support for post_url(@post) #10

@wkrsz

Description

@wkrsz

Usher replaces standard Rails url helpers. Unfortunately Usher ones support only options hash as a parameter. They don't support usage like: post_url(@post)

Instead of rewriting all views to use post_url(:id => @post.id) I monkey-patched Usher:
http://gist.github.com/393466

  • quick&dirty, but solved the issue for now.

Does anything prevent implementing such behavior in the plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions