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

Don't merge -review #71

Open
wants to merge 164 commits into
base: revb2
Choose a base branch
from
Open

Don't merge -review #71

wants to merge 164 commits into from

Conversation

stevecass
Copy link
Collaborator

No description provided.

Jenna Espezua & Kerry Imai & Kristie Chow and others added 30 commits February 18, 2016 12:31
Minor correction in routes file and add gem pub chat
set up controller for message, view show page for user
complete create message form and routes
add conversation table and model
add files for message and conversation
change route rb for conversation and messages
add logged in method to helper
end

def redirect_path(user)
if user.type == "Owner"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something like

meth = ("#{user.class.name.downcase}"_path).to_sym
send(meth)

should work

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.

3 participants