質問編集履歴

1

追記

2018/03/08 12:36

投稿

renren643
renren643

スコア279

test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,229 @@
51
51
 
52
52
 
53
53
  ![イメージ説明](45f35e1b6a2a825823167f4c14760a87.png)
54
+
55
+
56
+
57
+ 表示はされているのですが、クリックしてもURIが変わリマセン。
58
+
59
+
60
+
61
+ ![イメージ説明](8c5ebf0fc4d998655579af194d0ebc6d.png)
62
+
63
+
64
+
65
+ 環境は
66
+
67
+ Rails 5.1.5
68
+
69
+ ruby 2.4.0
70
+
71
+
72
+
73
+ 以下はgemfileです
74
+
75
+ ```ここに言語を入力
76
+
77
+ source 'https://rubygems.org'
78
+
79
+
80
+
81
+ git_source(:github) do |repo_name|
82
+
83
+ repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
84
+
85
+ "https://github.com/#{repo_name}.git"
86
+
87
+ end
88
+
89
+
90
+
91
+
92
+
93
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
94
+
95
+ gem 'rails', '~> 5.1.5'
96
+
97
+ # Use sqlite3 as the database for Active Record
98
+
99
+ gem 'sqlite3'
100
+
101
+ # Use Puma as the app server
102
+
103
+ gem 'puma', '~> 3.7'
104
+
105
+ # Use SCSS for stylesheets
106
+
107
+ gem 'sass-rails', '~> 5.0'
108
+
109
+ # Use Uglifier as compressor for JavaScript assets
110
+
111
+ gem 'uglifier', '>= 1.3.0'
112
+
113
+ # See https://github.com/rails/execjs#readme for more supported runtimes
114
+
115
+ # gem 'therubyracer', platforms: :ruby
116
+
117
+
118
+
119
+ # Use CoffeeScript for .coffee assets and views
120
+
121
+ gem 'coffee-rails', '~> 4.2'
122
+
123
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
124
+
125
+ gem 'turbolinks', '~> 5'
126
+
127
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
128
+
129
+ gem 'jbuilder', '~> 2.5'
130
+
131
+
132
+
133
+ gem 'bootstrap-sass', '3.3.7'
134
+
135
+ gem 'font-awesome-rails'
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+ group :development, :test do
146
+
147
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
148
+
149
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
150
+
151
+ # Adds support for Capybara system testing and selenium driver
152
+
153
+ gem 'capybara', '~> 2.13'
154
+
155
+ gem 'selenium-webdriver'
156
+
157
+ end
158
+
159
+
160
+
161
+ group :development do
162
+
163
+ # Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
164
+
165
+ gem 'web-console', '>= 3.3.0'
166
+
167
+ gem 'listen', '>= 3.0.5', '< 3.2'
168
+
169
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
170
+
171
+ gem 'spring'
172
+
173
+ gem 'spring-watcher-listen', '~> 2.0.0'
174
+
175
+ end
176
+
177
+
178
+
179
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
180
+
181
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
182
+
183
+
184
+
185
+ ```
186
+
187
+
188
+
189
+ application.html.erbのheader部分です
190
+
191
+ ```ここに言語を入力
192
+
193
+ <!DOCTYPE html>
194
+
195
+ <!--[if IE 7 ]><html class="ie ie7 lte9 lte8 lte7" lang="en-US"><![endif]-->
196
+
197
+ <!--[if IE 8]><html class="ie ie8 lte9 lte8" lang="en-US"> <![endif]-->
198
+
199
+ <!--[if IE 9]><html class="ie ie9 lte9" lang="en-US"><![endif]-->
200
+
201
+ <!--[if (gt IE 9)|!(IE)]><!-->
202
+
203
+ <html class="noIE" lang="en-US">
204
+
205
+ <!--<![endif]-->
206
+
207
+ <head>
208
+
209
+ <title>Nevada Plus</title>
210
+
211
+
212
+
213
+ <!-- meta -->
214
+
215
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
216
+
217
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
218
+
219
+ <meta name="viewport" content="width=device-width, initial-scale = 1.0, maximum-scale=1.0, user-scalable=no"/>
220
+
221
+
222
+
223
+ <!-- google fonts -->
224
+
225
+ <link href='http://fonts.googleapis.com/css?family=Raleway:500,300' rel='stylesheet' type='text/css'>
226
+
227
+ <link rel='stylesheet' href='http://fonts.googleapis.com/css?family=PT+Sans'>
228
+
229
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
230
+
231
+ <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Droid+Serif:regular,bold"/>
232
+
233
+
234
+
235
+ <!-- css -->
236
+
237
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
238
+
239
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
240
+
241
+
242
+
243
+ <link rel="stylesheet" href="assets/css/bootstrap.min.css">
244
+
245
+ <link rel="stylesheet" href="assets/css/font-awesome.min.css">
246
+
247
+ <link rel="stylesheet" href="assets/css/style.css" media="screen"/>
248
+
249
+
250
+
251
+ <script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
252
+
253
+
254
+
255
+
256
+
257
+
258
+
259
+ <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
260
+
261
+ <!--[if lt IE 9]>
262
+
263
+ <script src="assets/js/html5shiv.js"></script>
264
+
265
+ <script src="assets/js/respond.js"></script>
266
+
267
+ <![endif]-->
268
+
269
+
270
+
271
+ <!--[if IE 8]>
272
+
273
+ <script src="assets/js/selectivizr.js"></script>
274
+
275
+ <![endif]-->
276
+
277
+ </head>
278
+
279
+ ```