mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Fix two minor offenses in the CharactersGenerator
This commit is contained in:
parent
5a98b93dd1
commit
0f8fbc70a2
@ -1,6 +1,5 @@
|
||||
# Generates random Character values
|
||||
class CharactersGeneratorController < ApplicationController
|
||||
|
||||
def age
|
||||
@upper_limit = 100
|
||||
@lower_limit = 2
|
||||
@ -88,4 +87,4 @@ class CharactersGeneratorController < ApplicationController
|
||||
|
||||
render json: rand(@lower_limit...@upper_limit)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user