Skip to content

Refactor posts controller#6208

Closed
KentShikama wants to merge 2 commits intodiaspora:developfrom
KentShikama:refactor-posts
Closed

Refactor posts controller#6208
KentShikama wants to merge 2 commits intodiaspora:developfrom
KentShikama:refactor-posts

Conversation

@KentShikama
Copy link
Copy Markdown
Contributor

This refactoring will help add in the API routes for viewing posts.

Comment thread app/controllers/posts_controller.rb Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Just omit the block parameter

Comment thread app/models/post.rb Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'd drop the parens on the raise call here.

@jhass
Copy link
Copy Markdown
Member

jhass commented Jul 24, 2015

Comment thread spec/services/post_service_spec.rb Outdated
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Line is too long. [169/120]

@KentShikama KentShikama force-pushed the refactor-posts branch 2 times, most recently from e587472 to 86e0bf0 Compare July 25, 2015 05:14
Squashed commits:

[ada0f09] Remove favorites from Posts table
@KentShikama
Copy link
Copy Markdown
Contributor Author

https://travis-ci.org/diaspora/diaspora/jobs/72566425#L448 is this relevant to this PR?

Edit: The test is passing locally

@jhass
Copy link
Copy Markdown
Member

jhass commented Jul 25, 2015

No, looks unrelated.

@KentShikama
Copy link
Copy Markdown
Contributor Author

This PR should be ready then.

@jhass jhass closed this in 2a3dde1 Jul 26, 2015
@jhass
Copy link
Copy Markdown
Member

jhass commented Jul 26, 2015

Right, merged as d724397 2a3dde1

Thanks much!

@jhass jhass added this to the 0.5.3.0 milestone Jul 26, 2015
@KentShikama KentShikama deleted the refactor-posts branch July 27, 2015 15:54
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