ruby on rails - Working with router.rb -


हे! मेरे पास (उदाहरण के लिए):

  @ w1 = रैंड (99 99 99 9) @ वा = डाइजेस्ट :: SHA1.hexdigest (@ w1.to_s)   

और मुझे मिलता है: 6437gdfghfijd8794tyr98vdhf (कोड) .. ओकेई ... रेल में मैं इस कोड को मेरे यूआरएल में कैसे डाल सकता हूं .. ऐसा कुछ: लोकलहोस्टः 3000 / 6437gdfghfijd8794tyr98vdhf?

  #router आरबी map.about '/ @ w',: नियंत्रक = & gt; 'Ans',: क्रिया = & gt; 'सूचकांक'    

इसे आपको कुछ विचार देना चाहिए

या यदि आप इसे अपने दृश्य में उपयोग करना चाहते हैं:

Comments

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -