Skip to content
This repository
Browse code

Redirect users to dashboard index instead of rendering it.

We need access to the globals set by the index action.
  • Loading branch information...
commit 49b142119f38eb3a1330d57b138409934f4ba4ec 1 parent 2198277
Brian Michalski authored December 20, 2012
2  app/controllers/dashboard_controller.rb
@@ -30,7 +30,7 @@ def update
30 30
     params[:concerto_config].each  do |k,v|
31 31
       ConcertoConfig.set(k,v) #only set this if the config already exists
32 32
     end
33  
-    render :action => :index
  33
+    redirect_to :action => :index
34 34
   end
35 35
   
36 36
   def run_backup

0 notes on commit 49b1421

Please sign in to comment.
Something went wrong with that request. Please try again.