diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-16 21:04:50 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-16 21:04:50 -0600 |
| commit | 81b8d33d4fc46528acbca059547fc718c12d8682 (patch) | |
| tree | c165a3b1808f3398cb6262e8d16fc1ff208e02ec /app/services | |
| parent | 09cf5e4b8ac68434b851560ce2f2732d1150ad94 (diff) | |
resolve cakes repo from container.
Diffstat (limited to 'app/services')
| -rw-r--r-- | app/services/application/find_all_creations_query.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/application/find_all_creations_query.rb b/app/services/application/find_all_creations_query.rb index 3f2829aa..0e50a3c1 100644 --- a/app/services/application/find_all_creations_query.rb +++ b/app/services/application/find_all_creations_query.rb @@ -1,7 +1,7 @@ class FindAllCreationsQuery DEFAULT_PER_PAGE=12 - def initialize(repository = CreationRepository.new) + def initialize(repository = Spank::IOC.resolve(:cakes)) @repository = repository end |
