Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit f41c929

Browse files
committed
Modify config to adhere with the new Rails version
1 parent 5514b3c commit f41c929

File tree

4 files changed

+25
-19
lines changed

4 files changed

+25
-19
lines changed

config/environments/development.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,5 @@
3030

3131
config.assets.enabled = true
3232

33+
config.eager_load = false
3334
end

config/environments/production.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,6 @@
5757

5858
# Send deprecation notices to registered listeners
5959
config.active_support.deprecation = :notify
60+
61+
config.eager_load = false
6062
end

config/environments/test.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,7 @@
3636

3737
# Print deprecation notices to the stderr
3838
config.active_support.deprecation = :stderr
39+
40+
config.eager_load = false
3941
end
42+

config/routes.rb

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010
collection { post :import }
1111
end
1212

13-
match "/auth/:provider/callback" => "sessions#create"
14-
match '/auth/failure', :to => 'sessions#failure'
15-
match "/signout" => "sessions#destroy", :as => :signout
16-
match "/trello" => "sessions#trello"
17-
18-
match "/pomodoris" => "pomodoris#index"
19-
match "/pomodoris/create" => "pomodoris#create"
20-
match "/pomodoris/set_finished" => "pomodoris#set_finished"
21-
match "/pomodoris/set_tags" => "pomodoris#set_tags"
22-
match "/today" => "pomodoris#today"
23-
match "/yesterday" => "pomodoris#yesterday"
24-
25-
match "/settings" => "users#edit"
26-
match "/repeat_tags" => "pomodoris#repeat_tags"
27-
match "/delete_tag" => "pomodoris#delete_tag"
28-
match "/stats" => "users#stats"
29-
30-
match "/get_trello_cards" => "pomodoris#get_trello_cards"
31-
match "/trello_settings" => "users#trello_settings"
13+
get "/auth/:provider/callback" => "sessions#create"
14+
get '/auth/failure', :to => 'sessions#failure'
15+
get "/signout" => "sessions#destroy", :as => :signout
16+
get "/trello" => "sessions#trello"
17+
18+
get "/pomodoris" => "pomodoris#index"
19+
get "/pomodoris/create" => "pomodoris#create"
20+
get "/pomodoris/set_finished" => "pomodoris#set_finished"
21+
get "/pomodoris/set_tags" => "pomodoris#set_tags"
22+
get "/today" => "pomodoris#today"
23+
get "/yesterday" => "pomodoris#yesterday"
24+
25+
get "/settings" => "users#edit"
26+
get "/repeat_tags" => "pomodoris#repeat_tags"
27+
get "/delete_tag" => "pomodoris#delete_tag"
28+
get "/stats" => "users#stats"
29+
30+
get "/get_trello_cards" => "pomodoris#get_trello_cards"
31+
get "/trello_settings" => "users#trello_settings"
3232

3333
end

0 commit comments

Comments
 (0)