Skip to content

Commit

Permalink
Renamed root route to split_cat_root so main application can inject a…
Browse files Browse the repository at this point in the history
…uth filter that redirects to root_path
  • Loading branch information
rdh committed Jan 21, 2014
1 parent 58feee5 commit 1a30b94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,6 @@ using multiple user accounts.

## TODO

* Rework Experiment::factory to use template over DB, but fall back to DB

* Spec rake tasks

* As needed
Expand Down
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SplitCat::Engine.routes.draw do

root :to => 'experiments#index'
root :to => 'experiments#index', :as => :split_cat_root

resources :experiments

Expand Down

0 comments on commit 1a30b94

Please sign in to comment.