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

long urls everywhere! #52

Open
EpiphanyMachine opened this issue Aug 8, 2013 · 1 comment
Open

long urls everywhere! #52

EpiphanyMachine opened this issue Aug 8, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@EpiphanyMachine
Copy link
Member

I'm fairly irritated by all the long, complicated url strings (eg) and you might consider moving all them to a dedicated file that looks like a million lines like this: urls.bills = (sponsorId) -> "bills?history.active=true&sponsor_id=#{sponsorId}"

https://github.com/EpiphanyMachine/influence/blob/master/src/coffee/angular/controllers-c-individual.coffee#L51

@ghost ghost assigned EpiphanyMachine Aug 8, 2013
@EpiphanyMachine
Copy link
Member Author

in that file, alias $scope.selected_rep so you don't have to refer to it all the time

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

No branches or pull requests

1 participant