Refactor: use the new utility method to load ivars for settings
This commit is contained in:
parent
1d3d7ff10c
commit
9771e20462
@ -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) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user