ruby on rails - Route Temproray URL to controller and Action -
I am deploying a Rail application. At the moment I am having a temporary URL, does someone guide me how I tell them about my controller and action?
Temporary URL
I tried to do something like this but it is not working:
match "~ aeropter" ,: to = & Gt; 'Front # index' Produce here. An error message has been given from the log file: was initiated "/ ~ Aromomer /" for 223.29.232.108 on 2011-09-01 22:03:11 -0500 Displaying as content HTML Contributor by Content Controller #: {"path" => "~ aromaper"} 500 internal server error in 2ms completed public /404.html (0.0 mms) Any help would be highly appreciated.
I just had to do this, the routes created in this way:
< Code> match "/",: to = & gt; "Front # index" worked like a charm.
Comments
Post a Comment