app/controllers/simple_pages/pages_controller.rb in simple-pages-rails-0.3.1 vs app/controllers/simple_pages/pages_controller.rb in simple-pages-rails-0.4.0
- old
+ new
@@ -57,19 +57,13 @@
end
def load_page_options
load_author_options
load_page_layout_at_options
+ load_page_cluster_options
end
private
-
- def load_author_options
- load_authors
- @author_options = @authors.map do |author|
- [author.name, author.simple_page_owner_option]
- end
- end
def pagination_options
{ page: params[:page], per_page: SimplePages.pages_per_page }
end
end