Module: Georgia::RoutesHelper

Defined in:
app/helpers/georgia/routes_helper.rb

Instance Method Summary collapse

Instance Method Details

#georgia?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'app/helpers/georgia/routes_helper.rb', line 12

def georgia?
  namespace == 'Georgia'
end

#georgia_urlObject



4
5
6
# File 'app/helpers/georgia/routes_helper.rb', line 4

def georgia_url
  'http://www.georgiaonrails.com'
end

#kennedy?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'app/helpers/georgia/routes_helper.rb', line 16

def kennedy?
  namespace == 'Kennedy'
end

#main_app?Boolean

Returns:

  • (Boolean)


20
21
22
# File 'app/helpers/georgia/routes_helper.rb', line 20

def main_app?
  namespace == 'Admin'
end

#motioneleven_urlObject



8
9
10
# File 'app/helpers/georgia/routes_helper.rb', line 8

def motioneleven_url
  'http://www.motioneleven.com'
end