Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class WelcomeController < ApplicationController
- def index
- @a = "abcd"
- if @a != nil
- Kernel.system("ls")
- redirect_to root_path
- else
- end
- end
- end
- def index
- @a = "abcd"
- if @a != nil
- Kernel.system("ls")
- else
- end
- end
- root 'welcome#index'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement