Skip to content

Commit 02853be

Browse files
Fix minor issues
1 parent 018547b commit 02853be

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/critical_path_css/css_fetcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def fetch
1616
def fetch_route(route)
1717
options = {
1818
'url' => @config.base_url + route,
19-
'css' => fetch_css_path_for_route(route), #implement
19+
'css' => fetch_css_path_for_route(route),
2020
'width' => 1300,
2121
'height' => 900,
2222
'timeout' => 30_000,

lib/critical_path_css/rails/config_loader.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ module Rails
33
class ConfigLoader
44
CONFIGURATION_FILENAME = 'critical_path_css.yml'.freeze
55

6-
attr_reader :config
7-
86
def load
97
validate_css_paths
108
format_css_paths

0 commit comments

Comments
 (0)