Refactor: use the new utility method to load ivars for settings

This commit is contained in:
Eric Davis 2011-05-16 10:35:02 -07:00
parent 1d3d7ff10c
commit 9771e20462

View File

@ -176,7 +176,7 @@ class ProjectsController < ApplicationController
else else
respond_to do |format| respond_to do |format|
format.html { format.html {
settings load_project_settings
render :action => 'settings' render :action => 'settings'
} }
format.api { render_validation_errors(@project) } format.api { render_validation_errors(@project) }