Sha256: 11c6076162ea27385725a761b9ba47dd1e3f53c8364f9219bf31eb0991944f18
Contents?: true
Size: 902 Bytes
Versions: 27
Compression:
Stored size: 902 Bytes
Contents
module Widgets module ResetPassword class Base < ErpApp::Widgets::Base def index @website = Website.find_by_host(request.host_with_port) @login_url = params[:login_url] @domain = @website.configurations.first.get_item(ConfigurationItemType.find_by_internal_identifier('primary_host')).options.first.value render end #should not be modified #modify at your own risk def locate File.dirname(__FILE__) end class << self def title "Reset Password" end def widget_name File.basename(File.dirname(__FILE__)) end def base_layout begin file = File.join(File.dirname(__FILE__),"/views/layouts/base.html.erb") IO.read(file) rescue return nil end end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems