module ApplicationHelper

Public Instance Methods

devise_mapping() click to toggle source
# File app/helpers/application_helper.rb, line 10
def devise_mapping
        @devise_mapping ||= Devise.mappings[:user]
end
javascript(*files) click to toggle source
# File app/helpers/application_helper.rb, line 14
def javascript(*files)
  content_for(:head) { javascript_include_tag(*files) }
end
resource() click to toggle source
# File app/helpers/application_helper.rb, line 6
def resource
        @resource ||= User.new
end
resource_name() click to toggle source
# File app/helpers/application_helper.rb, line 2
def resource_name
        :user
end