You can also do:
return redirect_to :action => 'index'
and
return redirect_to :action => 'month_index',
:year => Date.today.year,
:month => Date.today.month,
:type => params[:type]
since it looks nicer than putting return on its own line (IMHO).