We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a70a223 commit 3f44549Copy full SHA for 3f44549
1 file changed
config/routes.rb
@@ -8,15 +8,17 @@
8
scope module: :marketing_redesign do
9
root controller: :home, action: :show
10
get "about-us", controller: :about, action: :show
11
- resources(
12
- :opportunities,
13
- only: %i[new create show],
+ resource(
+ :opportunity,
+ only: %i[new create],
14
path: "contact-us",
15
path_names: {
16
new: "",
17
show: "success"
18
}
19
- )
+ ) do
20
+ get "success", action: :show
21
+ end
22
if Rails.env.development?
23
get "library", controller: :library, action: :show
24
end
0 commit comments