c80_news_tz 0.1.1.17 → 0.1.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/c80_news_tz/application_helper.rb +4 -4
- data/lib/c80_news_tz/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49c1b9b1d8a903b6fb209179f36690f5645404cc
|
4
|
+
data.tar.gz: 58ab6e3a21b235b9258aaf85e6350109ec0d92ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 201fc0c685907eb8142c075cefcccd10312e1ccac354dd14a4801d692c305eabd246853e7a3721002a3a1daa5a7e171a0b8c4f6f9db363279b74603124a434bb
|
7
|
+
data.tar.gz: 72cc3f9218de587aeb78bf7ea450b9c884e8b9db3b3b37be3ed203f53d634c9caf0367b04c868456c5182f40f48c8b4c7935ddd964028f0b0a466f1bc54c2140
|
@@ -3,7 +3,7 @@ module C80NewsTz
|
|
3
3
|
module ApplicationHelper
|
4
4
|
|
5
5
|
def url_for_fact(fact)
|
6
|
-
"news/#{fact.slug}"
|
6
|
+
"#{root_url}news/#{fact.slug}"
|
7
7
|
end
|
8
8
|
|
9
9
|
def apph_url_for_rubric(rubric_slug)
|
@@ -11,15 +11,15 @@ module C80NewsTz
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def apph_url_for_company(company_slug)
|
14
|
-
"companies/#{company_slug}"
|
14
|
+
"#{root_url}companies/#{company_slug}"
|
15
15
|
end
|
16
16
|
|
17
17
|
def apph_url_for_notice(notice_slug)
|
18
|
-
"notices/#{notice_slug}"
|
18
|
+
"#{root_url}notices/#{notice_slug}"
|
19
19
|
end
|
20
20
|
|
21
21
|
def apph_url_for_issue(issue_id)
|
22
|
-
"issues/#{issue_id}"
|
22
|
+
"#{root_url}issues/#{issue_id}"
|
23
23
|
end
|
24
24
|
|
25
25
|
end
|
data/lib/c80_news_tz/version.rb
CHANGED