Skip to content

Commit

Permalink
[#39] Remove the preference for default locale.
Browse files Browse the repository at this point in the history
* Use the localizations locale_id instead of the projects
  default locale.
  • Loading branch information
patricksrobertson committed Mar 18, 2012
1 parent fb66492 commit f7a8359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/versions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ def new
@localization = Localization.find(params[:localization_id])
@version = @localization.revise
@project = @localization.project
@locale = @project.locale
@locale = @project.locale(@localization.locale_id)
end
end

0 comments on commit f7a8359

Please sign in to comment.