Class: Api::ToursController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/api/tours_controller.rb

Overview

Controller to retrieve i18n strings for application tours.

Instance Method Summary collapse

Instance Method Details

#show_entryObject

Return JSON object with i18n strings for the entry application tour.


40
41
42
43
44
# File 'app/controllers/api/tours_controller.rb', line 40

def show_entry
  respond_with
rescue => e
  handle_error e
end

#show_feedObject

Return JSON object with i18n strings for the feed application tour.


31
32
33
34
35
# File 'app/controllers/api/tours_controller.rb', line 31

def show_feed
  respond_with
rescue => e
  handle_error e
end

#show_kb_shortcutsObject

Return JSON object with i18n strings for the keyboard shortcuts application tour.


49
50
51
52
53
# File 'app/controllers/api/tours_controller.rb', line 49

def show_kb_shortcuts
  respond_with
rescue => e
  handle_error e
end

#show_mainObject

Return JSON object with i18n strings for the main application tour.


13
14
15
16
17
# File 'app/controllers/api/tours_controller.rb', line 13

def show_main
  respond_with
rescue => e
  handle_error e
end

#show_mobileObject

Return JSON object with i18n strings for the mobile application tour.


22
23
24
25
26
# File 'app/controllers/api/tours_controller.rb', line 22

def show_mobile
  respond_with
rescue => e
  handle_error e
end