Permalink
Browse files

Redirect users to dashboard index instead of rendering it.

We need access to the globals set by the index action.
  • Loading branch information...
bamnet committed Dec 20, 2012
1 parent 2198277 commit 49b142119f38eb3a1330d57b138409934f4ba4ec
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/dashboard_controller.rb
@@ -30,7 +30,7 @@ def update
params[:concerto_config].each do |k,v|
ConcertoConfig.set(k,v) #only set this if the config already exists
end
- render :action => :index
+ redirect_to :action => :index
end
def run_backup

0 comments on commit 49b1421

Please sign in to comment.