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

support for post_url(@post) #10

Open
wkrsz opened this issue May 7, 2010 · 1 comment
Open

support for post_url(@post) #10

wkrsz opened this issue May 7, 2010 · 1 comment

Comments

@wkrsz
Copy link

wkrsz commented May 7, 2010

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?

@joshbuddy
Copy link
Owner

Hey, can you pull down the latest and tell me if that fixed your issue?

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

No branches or pull requests

2 participants