Class: Virgo::PagesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/virgo/pages_controller.rb

Instance Method Summary collapse

Methods included from RenderHelper

#render_content, #with_format

Methods included from ApplicationHelper

#action?, #admin?, #admin_access?, #admin_view?, #alerts, #base_errors, #category_timestamp, #column_timestamp, #compact_html, #controller?, #decode_html_entities, #expanded_post_url, #is_admin_view?, #page_url, #post_time_format, #post_timestamp, #production?, #redis_timestamp_key_for, #site, #site_key, #superuser?, #tabbed_param, #word_count

Instance Method Details

#authorsObject


12
13
14
# File 'app/controllers/virgo/pages_controller.rb', line 12

def authors
  @authors = User.where(show_on_authors_page: true).order(author_page_weight: :asc)
end

#helpObject


16
17
# File 'app/controllers/virgo/pages_controller.rb', line 16

def help
end

#homeObject


9
10
# File 'app/controllers/virgo/pages_controller.rb', line 9

def home
end

#showObject


5
6
7
# File 'app/controllers/virgo/pages_controller.rb', line 5

def show
  render layout: 'virgo/application'
end