Here is my example:
x = Math.round( x );
What I need to is when the user types www.mywebsite.com/home redirect him back to www.mywebsite.com
答案 0 :(得分:2)
It depends on what version of Rails you are using, but on Rails 4+:
atacontrol list
ATA channel 0:
Master: ad0 <ST9500530NS/SN04> SATA revision 2.x
Slave: no device present
ATA channel 1:
Master: no device present
Slave: no device present
ATA channel 2:
Master: ad4 <UNIGEN FLASH/30/06/03> ATA/ATAPI revision 0
Slave: no device present
ATA channel 3:
Master: no device present
Slave: no device present
ATA channel 4:
Master: no device present
Slave: no device present
See the Routing Redirection docs for more detailed info.