Skip to content

Danebook#36

Open
davidmjiang wants to merge 40 commits into
vikingeducation:masterfrom
davidmjiang:master
Open

Danebook#36
davidmjiang wants to merge 40 commits into
vikingeducation:masterfrom
davidmjiang:master

Conversation

@davidmjiang

Copy link
Copy Markdown

No description provided.

end

def timeline
@profile = false

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Do these routes get used? May not need the @profile = false's any more.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Ah they do. Perhaps you could add a before_action: set_profile_to_false at the top.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Are you still using your static pages routes? Might want to pull them out into something RESTful if so

"#{first_user}, #{second_user} and #{likes_left} #{plural} this"
end
end

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This might be worth refactoring as well

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