Top Level Namespace
Defined Under Namespace
Modules: ActionController, ActionMailer, ActiveRecord, Muck, MuckAdminHelper, MuckControllerMacros, MuckEngineHelper, MuckFormMacros, MuckModelMacros, MuckNamedScopeMacros, MuckPaginationMacros, MuckPluginMacros, MuckTestMethods Classes: BasicMailer, Country, HelperController, Language, MuckCustomFormBuilder, MuckEngine, State
Constant Summary collapse
- NOT_LOGGED_IN_MSG =
/You must be logged in to access this feature/i
- PERMISSION_DENIED_MSG =
/You don't have permission to do that/i
Instance Method Summary collapse
-
#muck_routes_protocol ⇒ Object
Use to determine whether or not ssl should be used.
Instance Method Details
#muck_routes_protocol ⇒ Object
Use to determine whether or not ssl should be used
20 21 22 |
# File 'lib/muck_engine.rb', line 20 def muck_routes_protocol @@routes_protocol ||= GlobalConfig.enable_ssl ? (ENV["RAILS_ENV"] =~ /(development|test)/ ? "http" : "https") : 'http' end |