Skip to content

Question presenter#115

Merged
steveklabnik merged 3 commits intohacketyhack:masterfrom
abhirao:question_presenter
Dec 5, 2011
Merged

Question presenter#115
steveklabnik merged 3 commits intohacketyhack:masterfrom
abhirao:question_presenter

Conversation

@abhirao
Copy link
Copy Markdown
Contributor

@abhirao abhirao commented Dec 5, 2011

Meant to improve/replace the hack I put in to make questions/supports page work using the same views.

Question controller determines the presenter to be used. Views depend on the presenter for anything that depends on whether the view is for question or support issue.

Let me know what you think.

Previously support answers were actually being processed in /questions
Replacing hack that generated the questions/supports pages
with presenters. View now delegates all logic to presenters.
Which presenter is used is determined by controller.
@steveklabnik
Copy link
Copy Markdown
Member

I like it! Thanks!

steveklabnik added a commit that referenced this pull request Dec 5, 2011
@steveklabnik steveklabnik merged commit ab8422b into hacketyhack:master Dec 5, 2011
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

Successfully merging this pull request may close these issues.

2 participants