Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module ApplicationHelper
- def resource
- @resource ||= User.new
- end
- def resource_name
- :user
- end
- def resource_class
- User
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement