Skip to content

Commit 4d6b687

Browse files
committed
Cosmetic change on helpers
1 parent eeabbf7 commit 4d6b687

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

app/helpers/application_helper.rb

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,11 @@ def lazy_image_tag(source, options={})
7777
end
7878
end
7979

80-
def welcome_path(options={anchor: 'welcome'})
81-
root_path(options)
82-
end
83-
84-
def news_path(options={anchor: 'news'})
85-
root_path(options)
86-
end
80+
def welcome_path(options={anchor: 'welcome'}); root_path(options); end
81+
def news_path (options={anchor: 'news'}); root_path(options); end
8782

88-
def news_url(path='/'); 'https://news.coderdojo.jp' + path; end
89-
def dojomap_url(path='/'); 'https://map.coderdojo.jp' + path; end
83+
def news_url (path='/'); 'https://news.coderdojo.jp' + path; end
84+
def dojomap_url(path='/'); 'https://map.coderdojo.jp' + path; end
9085
def zen_url(path='/find'); 'https://zen.coderdojo.com' + path; end
9186

9287
def decadojo_url; 'https://decadojo.coderdojo.jp'; end

0 commit comments

Comments
 (0)