Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. class WelcomeController < ApplicationController
  2. def index
  3. @a = "abcd"
  4. if @a != nil
  5. Kernel.system("ls")
  6. redirect_to root_path
  7. else
  8. end
  9. end
  10. end
  11.  
  12. def index
  13. @a = "abcd"
  14. if @a != nil
  15. Kernel.system("ls")
  16. else
  17. end
  18. end
  19.  
  20. root 'welcome#index'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement