Skip to content

Instantly share code, notes, and snippets.

View railsbob's full-sized avatar

Anup Narkhede railsbob

View GitHub Profile
# Saas/config/engine.rb
module Saas
class Engine < Rails::Engine
engine_name :saas
end
end
# Saas/controllers/saas/sessions_controller.rb
module Saas
class SessionsController < ApplicationController
def new
render :text => 'Hi from SessionsController'
end
end
end
require 'builder'
class Sitemap
STATIC_URLS = ['/home/about',
'/home/help',
'/home/contact_us',
'/home/terms']
class << self