Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ApplicationController < ActionController::Base
- include Foobar
- end
- class PagesController < ApplicationController
- def home
- Foobar::blah
- end
- end
- module Foobar
- def blah
- puts 'hello from module'
- end
- end
Add Comment
Please, Sign In to add comment