質問編集履歴
1
routes.rbを追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -128,6 +128,48 @@
|
|
128
128
|
|
129
129
|
|
130
130
|
|
131
|
+
```routes
|
132
|
+
|
133
|
+
Rails.application.routes.draw do
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
#フロント
|
138
|
+
|
139
|
+
root 'front_pages#home'
|
140
|
+
|
141
|
+
get '/about', to: 'front_pages#about'
|
142
|
+
|
143
|
+
get '/news', to: 'front_pages#news'
|
144
|
+
|
145
|
+
get '/works', to: 'front_pages#works'
|
146
|
+
|
147
|
+
get '/members', to: 'front_pages#members'
|
148
|
+
|
149
|
+
get '/contacts', to: 'front_pages#contacts'
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
#バックオフィス
|
154
|
+
|
155
|
+
namespace :bo_pages do
|
156
|
+
|
157
|
+
resources :admins, :news, :creations, :members
|
158
|
+
|
159
|
+
end
|
160
|
+
|
161
|
+
get '/bo_pages', to: 'bo_pages/home#index'
|
162
|
+
|
163
|
+
get '/bo_pages/login', to: 'bo_pages/login#index'
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
end
|
168
|
+
|
169
|
+
```
|
170
|
+
|
171
|
+
|
172
|
+
|
131
173
|
|
132
174
|
|
133
175
|
|