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

State Machine #6

Closed
dronov opened this issue Sep 18, 2015 · 6 comments
Closed

State Machine #6

dronov opened this issue Sep 18, 2015 · 6 comments

Comments

@dronov
Copy link
Contributor

dronov commented Sep 18, 2015

Hi. I think I found a better solution for updating state of blog posts.
No need to keep actions 'publish, undo_publish' in controllers like here. There is a better solution to add State Machine to Post model for keeping the right business logic. In my opinion controllers should'not make actions like these and the Post model will be with more clearer code.

If you're agreed I can fix it later after #5

@samuels410
Copy link
Owner

@dronov @lucasocon I am thinking we can Install wordpress to provide the blogging solution.
Sorry @lucasocon when we develop the blog feature I haven't think about that. This week I will Install the WP and map blog.helpalife.in domain.

@lucasocon
Copy link
Collaborator

Okay @samuels410 no problem.

@dronov
Copy link
Contributor Author

dronov commented Sep 18, 2015

@samuels410 👍
Could I make new PR with removing blog post models/controllers and link_to blog.helpalife.in?

@samuels410
Copy link
Owner

@dronov Please do that.

@dronov
Copy link
Contributor Author

dronov commented Sep 21, 2015

@samuels410 ok, I will make it first. Please comment another issue #5

dronov added a commit to dronov/helpalife that referenced this issue Sep 22, 2015
@samuels410
Copy link
Owner

Blog post moved to wordpress.

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

No branches or pull requests

3 participants