This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
name = ARGV[0] | |
if name.to_s.strip.empty? | |
puts "usage: bin/create_engine <name>" | |
exit(1) | |
end | |
cmd = <<-CMD | |
bin/rails plugin new engines/#{name}_engine \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Api::ApplicationController < ActionController::API | |
include Pagy::Backend | |
include PagyCollectionSerializer::ControllerMixin | |
end |
OlderNewer