app/controllers/simple_pages/application_controller.rb in simple-pages-rails-0.3.1 vs app/controllers/simple_pages/application_controller.rb in simple-pages-rails-0.4.0

- old
+ new

@@ -8,7 +8,16 @@ SimplePages.controller_modules.each { |module_name| include module_name } if SimplePages.extra_page_layout.present? has_page_layout_at SimplePages.extra_page_layout end + + protected + + def load_author_options + load_authors + @author_options = @authors.map do |author| + [author.name, author.simple_page_owner_option] + end + end end end