app/controllers/ninsho_controller.rb in ninsho-0.0.3 vs app/controllers/ninsho_controller.rb in ninsho-0.1.0
- old
+ new
@@ -44,9 +44,9 @@
resource_class.reflect_on_all_associations(:belongs_to).first.name.to_s
end
# Build a ninsho resource, from the omniauth hash
def build_resource_from_omniauth
- self.resource = resource_class.from_omniauth(resource_params)
+ self.resource = resource_class.from_omniauth(resource_params)
end
end