Skip to content

Commit

Permalink
Merge pull request #333 from baweaver/patch-1
Browse files Browse the repository at this point in the history
Recursive globbing for controllers
  • Loading branch information
iNecas committed Feb 18, 2015
2 parents 2c44503 + f4725c6 commit 79499b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/apipie/install/templates/initializer.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Apipie.configure do |config|
config.api_base_url = "<%= options.api_path %>"
config.doc_base_url = "<%= options.route %>"
# where is your API defined?
config.api_controllers_matcher = "#{Rails.root}/app/controllers/*.rb"
config.api_controllers_matcher = "#{Rails.root}/app/controllers/**/*.rb"
end

0 comments on commit 79499b1

Please sign in to comment.