spec/dummy/lib/devise_ext.rb in simple-pages-rails-0.4.0 vs spec/dummy/lib/devise_ext.rb in simple-pages-rails-0.5.0
- old
+ new
@@ -18,8 +18,8 @@
def session_user
current_user
end
def load_authors
- @authors = User.all
+ @authors = User.unscoped
end
end