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

get browser URL for any object #124

Closed
dpocock opened this issue Mar 10, 2016 · 4 comments
Closed

get browser URL for any object #124

dpocock opened this issue Mar 10, 2016 · 4 comments
Assignees

Comments

@dpocock
Copy link

dpocock commented Mar 10, 2016

It would be useful if every object had a method to obtain the URL for viewing the object in Redmine from a browser

@maxtepkeev maxtepkeev self-assigned this Mar 11, 2016
@maxtepkeev
Copy link
Owner

Almost (because it doesn't make sense for all objects) every resource object already provides a url property for this, e.g. project.url, issue.url etc. Does that cover your needs or you need something different ?

@dpocock
Copy link
Author

dpocock commented Mar 11, 2016

OK, I hadn't seen that when inspect an object with vars(issue.project)

I notice that if I invoke issue.project.url it returns a URL with the project ID rather than the project.identifier string, could that be changed? The identifier is better for clean URLs.

@maxtepkeev
Copy link
Owner

Agree, will fix this ASAP.

maxtepkeev added a commit that referenced this issue Mar 25, 2016
@maxtepkeev
Copy link
Owner

Fixed in v1.5.1

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

No branches or pull requests

2 participants