Fix bug with SEO fields translation #300

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

jerefrer commented Nov 15, 2012

SEO fields were actually not translated but remained the same for every language.

For example if you set the browser title as "Woot" in the EN language, and then set it in the FR language as "Génial", it would then be "Génial" for every language.

Anyway, it's fixed now ;)

@ugisozols ugisozols commented on the diff Nov 15, 2012

app/models/refinery/blog/post.rb
@@ -26,7 +26,6 @@ class Post < ActiveRecord::Base
validates :title, :presence => true, :uniqueness => true
validates :body, :presence => true
- validates :published_at, :author, :presence => true
@ugisozols

ugisozols Nov 15, 2012

Owner

Why did you removed this validation?

@jerefrer

jerefrer Nov 15, 2012

Contributor

Well actually this was not intended ... I messed things up because I first made the changes in the original repo's clone, then forked and CP'd the file in my forked one ... Don't know why this happened though ...

I close this and make a new pull request

jerefrer closed this Nov 15, 2012

Contributor

jerefrer commented Nov 15, 2012

Closed this because of unintended changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment