File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ruby/rails-hyperstack/lib/generators/hyperstack Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def report
185185 private
186186
187187 def skip_adding_component?
188- options [ 'hotloader-only' ] || options [ 'webpack-only' ] || options [ 'hyper-model-only' ] || existing_rails_app?
188+ @skip_adding_component ||= options [ 'hotloader-only' ] || options [ 'webpack-only' ] || options [ 'hyper-model-only' ] || existing_rails_app?
189189 end
190190
191191 def skip_hotloader?
@@ -203,7 +203,7 @@ def skip_hyper_model?
203203 def existing_rails_app?
204204 #check to see if there are any routes set up
205205 route_file = File . join ( 'config' , 'routes.rb' )
206-
206+ puts "***********************************exisiting_rails_app"
207207 count = File . foreach ( route_file ) . inject ( 0 ) do | c , line |
208208 line = line . strip
209209
You can’t perform that action at this time.
0 commit comments