lib/ruby_app/elements/pages/settings_page.rb in RubyApp-0.0.91 vs lib/ruby_app/elements/pages/settings_page.rb in RubyApp-0.2.0
- old
+ new
@@ -1,10 +1,11 @@
module RubyApp
module Elements
module Pages
+ require 'ruby_app'
require 'ruby_app/elements/markdown'
require 'ruby_app/elements/pages/blank_page'
class SettingsPage < RubyApp::Elements::Pages::BlankPage
@@ -19,10 +20,10 @@
when 'do_load_theme_mobile'
require 'ruby_app/themes/mobile'
when 'do_reload_translations'
RubyApp::Language.reload!
when 'do_quit'
- RubyApp::Session.quit
+ RubyApp::Session.quit!
end
event.refresh
end
end